X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Fapi%2Fbulk.ts;h=51292175bfc31497fd8a993e9bedd9a3a6cb748f;hb=7226e90fdc61a3c6cad5ccab18b6707d55cf0992;hp=d27c3c73e64a435723d1abd96294bab6f70bbf36;hpb=5098098d96164c93f84ec8419e98fbd83ba8dc71;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/controllers/api/bulk.ts b/server/controllers/api/bulk.ts index d27c3c73e..51292175b 100644 --- a/server/controllers/api/bulk.ts +++ b/server/controllers/api/bulk.ts @@ -37,6 +37,6 @@ async function bulkRemoveCommentsOf (req: express.Request, res: express.Response res.status(HttpStatusCode.NO_CONTENT_204).end() for (const comment of comments) { - await removeComment(comment) + await removeComment(comment, req, res) } }