1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Fix comments deleted display

This commit is contained in:
Chocobozzz 2020-05-19 10:48:50 +02:00 committed by Chocobozzz
parent 923ff87da2
commit 8adf0a767f
3 changed files with 48 additions and 14 deletions

View file

@ -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()
}