Revert "update"

This reverts commit 55c80db66d.
This commit is contained in:
mattyatea 2024-05-11 01:16:47 +09:00
parent 55c80db66d
commit bc3234510c
6 changed files with 25 additions and 25 deletions

View file

@ -477,6 +477,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
const updatedProfile = await this.userProfilesRepository.findOneByOrFail({ userId: user.id });
await this.cacheService.userProfileCache.set(user.id, updatedProfile);
// Publish meUpdated event
this.globalEventService.publishMainStream(user.id, 'meUpdated', iObj);