aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/controllers/api/videos/upload.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/controllers/api/videos/upload.ts b/server/controllers/api/videos/upload.ts
index cc171eece..43313a143 100644
--- a/server/controllers/api/videos/upload.ts
+++ b/server/controllers/api/videos/upload.ts
@@ -259,6 +259,15 @@ async function addVideoJobsAfterUpload (video: MVideoFullLight, videoFile: MVide
259 action: 'create' 259 action: 'create'
260 } 260 }
261 }, 261 },
262
263 {
264 type: 'notify',
265 payload: {
266 action: 'new-video',
267 videoUUID: video.uuid
268 }
269 },
270
262 { 271 {
263 type: 'federate-video' as 'federate-video', 272 type: 'federate-video' as 'federate-video',
264 payload: { 273 payload: {