]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/custom-validators/video-channels.ts
WIP plugins: add plugin settings/uninstall in client
[github/Chocobozzz/PeerTube.git] / server / helpers / custom-validators / video-channels.ts
index f818ce8f1acc2052b2a30eb50c586a8eeab818dd..e1a2f9503366a64e55ffbd93275305ce27e3d887 100644 (file)
@@ -51,9 +51,7 @@ export {
 
 function processVideoChannelExist (videoChannel: VideoChannelModel, res: express.Response) {
   if (!videoChannel) {
-    res.status(404)
-       .json({ error: 'Video channel not found' })
-       .end()
+    ``
 
     return false
   }