mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 09:10:14 +00:00
Properly invalidate account caches when unlinking
This commit is contained in:
parent
de427d8bfe
commit
026932049a
2 changed files with 8 additions and 2 deletions
|
|
@ -509,6 +509,7 @@ namespace PluralKit {
|
|||
|
||||
_logger.Information("Unlinked system {System} from account {Account}", system.Id, accountId);
|
||||
await _cache.InvalidateSystem(system);
|
||||
_cache.InvalidateAccounts(new [] { accountId });
|
||||
}
|
||||
|
||||
public async Task<PKSystem> GetSystemByAccount(ulong accountId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue