This commit is contained in:
mattyatea 2024-04-22 21:13:56 +09:00
parent a9e6c8bb9c
commit f51a4b51b3
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
//#endregion //#endregion
if (Object.keys(updates).length > 0) { if (Object.keys(updates).length > 0) {
await this.usersRepository.update(user.id, updates); await this.usersRepository.update(user.id, updates);
this.globalEventService.publishInternalEvent('localUserUpdated', { id: user.id }); //this.globalEventService.publishInternalEvent('localUserUpdated', { id: user.id });
} }
await this.userProfilesRepository.update(user.id, { await this.userProfilesRepository.update(user.id, {