mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-04-27 11:25:23 +00:00
Typo unwatching lists. (#55)
This is actually really bad. For multiple reasons. The best way for this to be avoided is to drop everything and reload it when the account data for watched lists is changed. Then there isn't a situation where you have to inform anyone about a change in what lists are being watched.
This commit is contained in:
@@ -241,7 +241,7 @@ export default class AccessControlUnit {
|
||||
|
||||
public unwatchList(list: PolicyList) {
|
||||
for (const cache of this.caches) {
|
||||
cache.watchList(list);
|
||||
cache.unwatchList(list);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user