This commit is contained in:
mattyatea 2024-05-14 05:17:18 +09:00
parent 2c294ff978
commit 7f9ac61174
2 changed files with 4 additions and 4 deletions

View file

@ -130,7 +130,7 @@ export class CacheService implements OnApplicationShutdown {
case 'userChangeSuspendedState':
case 'userChangeDeletedState':
case 'remoteUserUpdated':
case 'localUserUpdated': {
{
const user = await this.usersRepository.findOneBy({ id: body.id });
if (user == null) {
this.userByIdCache.delete(body.id);