aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/users.ts')
-rw-r--r--server/controllers/api/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/users.ts b/server/controllers/api/users.ts
index 6e0bb474a..845facd55 100644
--- a/server/controllers/api/users.ts
+++ b/server/controllers/api/users.ts
@@ -126,7 +126,7 @@ function removeUser (req: express.Request, res: express.Response, next: express.
126 .then(user => user.destroy()) 126 .then(user => user.destroy())
127 .then(() => res.sendStatus(204)) 127 .then(() => res.sendStatus(204))
128 .catch(err => { 128 .catch(err => {
129 logger.error('Errors when removed the user.', { error: err }) 129 logger.error('Errors when removed the user.', err)
130 return next(err) 130 return next(err)
131 }) 131 })
132} 132}