diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-24 14:47:32 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-24 14:47:32 +0200 |
commit | 7c07259ae5c7b636d52b8ec103a19d31c2f5b755 (patch) | |
tree | 30e85294a11ce8356dbcc31b0f9df91a18086306 /client/src/app/+videos/+video-edit/video-update.resolver.ts | |
parent | 978489b64c7b329cbfde5ffd7fe806702a3490c7 (diff) | |
download | PeerTube-7c07259ae5c7b636d52b8ec103a19d31c2f5b755.tar.gz PeerTube-7c07259ae5c7b636d52b8ec103a19d31c2f5b755.tar.zst PeerTube-7c07259ae5c7b636d52b8ec103a19d31c2f5b755.zip |
Fix fetching unlisted video in client
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-update.resolver.ts')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-update.resolver.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ), |