diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-16 11:56:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-16 11:56:58 +0100 |
commit | e65ef81cf51746616182a822bd6933bf0d16717a (patch) | |
tree | ff9e715b50eb690b8fbb5263cf1371d9f8103ff1 /server/controllers/api/users/index.ts | |
parent | 5bfe684e76d32a7745671635f8a75f932bd522e4 (diff) | |
download | PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.tar.gz PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.tar.zst PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.zip |
Update server dependencies
Diffstat (limited to 'server/controllers/api/users/index.ts')
-rw-r--r-- | server/controllers/api/users/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/users/index.ts b/server/controllers/api/users/index.ts index 5a5a12e82..96366d68c 100644 --- a/server/controllers/api/users/index.ts +++ b/server/controllers/api/users/index.ts | |||
@@ -309,7 +309,7 @@ async function changeUserBlock (res: express.Response, user: MUserAccountDefault | |||
309 | await user.save({ transaction: t }) | 309 | await user.save({ transaction: t }) |
310 | }) | 310 | }) |
311 | 311 | ||
312 | await Emailer.Instance.addUserBlockJob(user, block, reason) | 312 | Emailer.Instance.addUserBlockJob(user, block, reason) |
313 | 313 | ||
314 | auditLogger.update(getAuditIdFromRes(res), new UserAuditView(user.toFormattedJSON()), oldUserAuditView) | 314 | auditLogger.update(getAuditIdFromRes(res), new UserAuditView(user.toFormattedJSON()), oldUserAuditView) |
315 | } | 315 | } |