aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-05-19 10:48:50 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-05-29 09:21:26 +0200
commit8adf0a767f0816465ac3a8f4a6c63f53dd05fe3d (patch)
tree6633e5e17a2c64d670aab2a7bcf9b46f76cea32f /server/controllers
parent923ff87da2761fd88a8ca269ac1ef403abb583d2 (diff)
downloadPeerTube-8adf0a767f0816465ac3a8f4a6c63f53dd05fe3d.tar.gz
PeerTube-8adf0a767f0816465ac3a8f4a6c63f53dd05fe3d.tar.zst
PeerTube-8adf0a767f0816465ac3a8f4a6c63f53dd05fe3d.zip
Fix comments deleted display
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/videos/comment.ts2
1 files changed, 1 insertions, 1 deletions
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)
178 178
179 auditLogger.delete(getAuditIdFromRes(res), new CommentAuditView(videoCommentInstance.toFormattedJSON())) 179 auditLogger.delete(getAuditIdFromRes(res), new CommentAuditView(videoCommentInstance.toFormattedJSON()))
180 180
181 return res.type('json').status(204) 181 return res.type('json').status(204).end()
182} 182}