diff options
Diffstat (limited to 'client/src/app/+videos/+video-edit')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/+videos/+video-edit/video-update.resolver.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts index 0c78669c1..4c74eda84 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts +++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts | |||
@@ -78,7 +78,7 @@ export class VideoImportUrlComponent extends VideoSend implements OnInit, AfterV | |||
78 | .pipe( | 78 | .pipe( |
79 | switchMap(res => { | 79 | switchMap(res => { |
80 | return this.videoCaptionService | 80 | return this.videoCaptionService |
81 | .listCaptions(res.video.id) | 81 | .listCaptions(res.video.uuid) |
82 | .pipe( | 82 | .pipe( |
83 | map(result => ({ video: res.video, videoCaptions: result.data })) | 83 | map(result => ({ video: res.video, videoCaptions: result.data })) |
84 | ) | 84 | ) |
diff --git a/client/src/app/+videos/+video-edit/video-update.resolver.ts b/client/src/app/+videos/+video-edit/video-update.resolver.ts index db5017340..524ceae10 100644 --- a/client/src/app/+videos/+video-edit/video-update.resolver.ts +++ b/client/src/app/+videos/+video-edit/video-update.resolver.ts | |||
@@ -39,7 +39,7 @@ export class VideoUpdateResolver implements Resolve<any> { | |||
39 | listUserChannelsForSelect(this.authService), | 39 | listUserChannelsForSelect(this.authService), |
40 | 40 | ||
41 | this.videoCaptionService | 41 | this.videoCaptionService |
42 | .listCaptions(video.id) | 42 | .listCaptions(video.uuid) |
43 | .pipe( | 43 | .pipe( |
44 | map(result => result.data) | 44 | map(result => result.data) |
45 | ), | 45 | ), |