aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-09 11:22:29 +0200
committerChocobozzz <me@florianbigard.com>2022-08-09 11:22:29 +0200
commite13db048c7d85d0c74d3225f8508712da3b6ccf0 (patch)
tree7333a165edf8973ddc22c27ee5b3453c2be2502e /server/controllers
parent8d33235de737e18eabb0816a950ba89f4a807e70 (diff)
downloadPeerTube-e13db048c7d85d0c74d3225f8508712da3b6ccf0.tar.gz
PeerTube-e13db048c7d85d0c74d3225f8508712da3b6ccf0.tar.zst
PeerTube-e13db048c7d85d0c74d3225f8508712da3b6ccf0.zip
Fix upload notification
Diffstat (limited to 'server/controllers')
-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: {