]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/videos/upload.ts
Put private videos under a specific subdirectory
[github/Chocobozzz/PeerTube.git] / server / controllers / api / videos / upload.ts
index cc171eeceb5d857a67e770e2c9c113c942ed9444..43313a143f2e2b7ea918132180ff0097e1c552bb 100644 (file)
@@ -259,6 +259,15 @@ async function addVideoJobsAfterUpload (video: MVideoFullLight, videoFile: MVide
         action: 'create'
       }
     },
+
+    {
+      type: 'notify',
+      payload: {
+        action: 'new-video',
+        videoUUID: video.uuid
+      }
+    },
+
     {
       type: 'federate-video' as 'federate-video',
       payload: {