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:
@@ -45,6 +45,6 @@ export async function dispatchUpdateTimelimitRule ({ action, cache }: {
|
||||
|
||||
await ruleEntry.save({ transaction: cache.transaction })
|
||||
|
||||
cache.categoriesWithModifiedTimeLimitRules.push(ruleEntry.categoryId)
|
||||
cache.categoriesWithModifiedTimeLimitRules.add(ruleEntry.categoryId)
|
||||
cache.areChangesImportant = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user