diff options
Diffstat (limited to 'server/controllers/api/videos/blacklist.ts')
-rw-r--r-- | server/controllers/api/videos/blacklist.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/blacklist.ts b/server/controllers/api/videos/blacklist.ts index e4be6f0f9..d8f2068ec 100644 --- a/server/controllers/api/videos/blacklist.ts +++ b/server/controllers/api/videos/blacklist.ts | |||
@@ -35,7 +35,7 @@ function addVideoToBlacklist (req: express.Request, res: express.Response, next: | |||
35 | db.BlacklistedVideo.create(toCreate) | 35 | db.BlacklistedVideo.create(toCreate) |
36 | .then(() => res.type('json').status(204).end()) | 36 | .then(() => res.type('json').status(204).end()) |
37 | .catch(err => { | 37 | .catch(err => { |
38 | logger.error('Errors when blacklisting video ', { error: err }) | 38 | logger.error('Errors when blacklisting video ', err) |
39 | return next(err) | 39 | return next(err) |
40 | }) | 40 | }) |
41 | } | 41 | } |