mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Replace lists by sets in the apply action cache
This commit is contained in:
@@ -110,10 +110,10 @@ export async function dispatchAddUsedTime ({ action, cache }: {
|
||||
transaction: cache.transaction
|
||||
})
|
||||
|
||||
cache.categoriesWithModifiedBaseData.push(categoryId)
|
||||
cache.categoriesWithModifiedBaseData.add(categoryId)
|
||||
}
|
||||
|
||||
cache.categoriesWithModifiedUsedTimes.push(categoryId)
|
||||
cache.categoriesWithModifiedUsedTimes.add(categoryId)
|
||||
}
|
||||
|
||||
await handleAddUsedTime({
|
||||
|
||||
Reference in New Issue
Block a user