diff options
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 384458127..4ac517d96 100644 --- a/client/src/app/videos/+video-edit/video-update.resolver.ts +++ b/client/src/app/videos/+video-edit/video-update.resolver.ts | |||
@@ -18,7 +18,7 @@ export class VideoUpdateResolver implements Resolve<any> { | |||
18 | resolve (route: ActivatedRouteSnapshot) { | 18 | resolve (route: ActivatedRouteSnapshot) { |
19 | const uuid: string = route.params[ 'uuid' ] | 19 | const uuid: string = route.params[ 'uuid' ] |
20 | 20 | ||
21 | return this.videoService.getVideo(uuid) | 21 | return this.videoService.getVideo({ videoId: uuid }) |
22 | .pipe( | 22 | .pipe( |
23 | switchMap(video => { | 23 | switchMap(video => { |
24 | return forkJoin([ | 24 | return forkJoin([ |