mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Cache user token
This commit is contained in:
parent
91411dba92
commit
f201a74992
7 changed files with 79 additions and 19 deletions
|
@ -353,7 +353,7 @@ async function updateMyAvatar (req: express.Request, res: express.Response, next
|
|||
|
||||
const userAccount = await AccountModel.load(user.Account.id)
|
||||
|
||||
const avatar = await updateActorAvatarFile(avatarPhysicalFile, userAccount.Actor, userAccount)
|
||||
const avatar = await updateActorAvatarFile(avatarPhysicalFile, userAccount)
|
||||
|
||||
auditLogger.update(getAuditIdFromRes(res), new UserAuditView(user.toFormattedJSON()), oldUserAuditView)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue