]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - routes/api/v1/remoteVideos.js
Finalise the join in a network and add the ability to quit it
[github/Chocobozzz/PeerTube.git] / routes / api / v1 / remoteVideos.js
index a104113b264cd4a9a17ba0262d69de4048570139..6ba6ce17b8a6593713f5a36de0dc9e56d8853683 100644 (file)
@@ -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)
     })
   }