X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=routes%2Fapi%2Fv1%2FremoteVideos.js;h=6ba6ce17b8a6593713f5a36de0dc9e56d8853683;hb=45239549bf2659998dcf9196d86974b0b625912e;hp=a104113b264cd4a9a17ba0262d69de4048570139;hpb=0b69752270f1ceea06a29872b3db23660a55d6d3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/routes/api/v1/remoteVideos.js b/routes/api/v1/remoteVideos.js index a104113b2..6ba6ce17b 100644 --- a/routes/api/v1/remoteVideos.js +++ b/routes/api/v1/remoteVideos.js @@ -22,7 +22,7 @@ videos.removeRemotes(req.body.signature.url, pluck(req.body.data, 'magnetUri'), function (err) { if (err) return next(err) - res.status(204) + res.sendStatus(204) }) }