diff options
Diffstat (limited to 'server/controllers/api/users/me.ts')
-rw-r--r-- | server/controllers/api/users/me.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/users/me.ts b/server/controllers/api/users/me.ts index eba1e7edd..ff3a87b7f 100644 --- a/server/controllers/api/users/me.ts +++ b/server/controllers/api/users/me.ts | |||
@@ -353,7 +353,7 @@ async function updateMyAvatar (req: express.Request, res: express.Response, next | |||
353 | 353 | ||
354 | const userAccount = await AccountModel.load(user.Account.id) | 354 | const userAccount = await AccountModel.load(user.Account.id) |
355 | 355 | ||
356 | const avatar = await updateActorAvatarFile(avatarPhysicalFile, userAccount.Actor, userAccount) | 356 | const avatar = await updateActorAvatarFile(avatarPhysicalFile, userAccount) |
357 | 357 | ||
358 | auditLogger.update(getAuditIdFromRes(res), new UserAuditView(user.toFormattedJSON()), oldUserAuditView) | 358 | auditLogger.update(getAuditIdFromRes(res), new UserAuditView(user.toFormattedJSON()), oldUserAuditView) |
359 | 359 | ||