]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts
Fix fetching unlisted video in client
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-edit / video-add-components / video-import-url.component.ts
index 0c78669c127a0da8309d64ff0f374d3034399f77..4c74eda845fffc60dccc658b0001044b0f6c1765 100644 (file)
@@ -78,7 +78,7 @@ export class VideoImportUrlComponent extends VideoSend implements OnInit, AfterV
         .pipe(
           switchMap(res => {
             return this.videoCaptionService
-                .listCaptions(res.video.id)
+                .listCaptions(res.video.uuid)
                 .pipe(
                   map(result => ({ video: res.video, videoCaptions: result.data }))
                 )