This commit is contained in:
syuilo 2023-10-03 13:47:50 +09:00
parent 45c3ab2142
commit 96da6e28ea
2 changed files with 49 additions and 48 deletions

View file

@ -194,6 +194,7 @@ export class CacheService implements OnApplicationShutdown {
if (follower) follower.followingCount++;
const followee = this.userByIdCache.get(body.followeeId);
if (followee) followee.followersCount++;
this.userFollowingsCache.delete(body.followerId);
break;
}
default: