From 8adf0a767f0816465ac3a8f4a6c63f53dd05fe3d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 19 May 2020 10:48:50 +0200 Subject: Fix comments deleted display --- server/controllers/api/videos/comment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers/api') diff --git a/server/controllers/api/videos/comment.ts b/server/controllers/api/videos/comment.ts index bdd3cf9e2..2dcb85ecf 100644 --- a/server/controllers/api/videos/comment.ts +++ b/server/controllers/api/videos/comment.ts @@ -178,5 +178,5 @@ async function removeVideoComment (req: express.Request, res: express.Response) auditLogger.delete(getAuditIdFromRes(res), new CommentAuditView(videoCommentInstance.toFormattedJSON())) - return res.type('json').status(204) + return res.type('json').status(204).end() } -- cgit v1.2.3