diff options
Diffstat (limited to 'client/src/app/shared/shared-main/video/video.service.ts')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.service.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/video/video.service.ts b/client/src/app/shared/shared-main/video/video.service.ts index c2e3d7511..4e8b84dfc 100644 --- a/client/src/app/shared/shared-main/video/video.service.ts +++ b/client/src/app/shared/shared-main/video/video.service.ts | |||
@@ -347,9 +347,11 @@ export class VideoService { | |||
347 | 347 | ||
348 | // --------------------------------------------------------------------------- | 348 | // --------------------------------------------------------------------------- |
349 | 349 | ||
350 | getStoryboards (videoId: string | number) { | 350 | getStoryboards (videoId: string | number, videoPassword: string) { |
351 | const headers = VideoPasswordService.buildVideoPasswordHeader(videoPassword) | ||
352 | |||
351 | return this.authHttp | 353 | return this.authHttp |
352 | .get<{ storyboards: Storyboard[] }>(VideoService.BASE_VIDEO_URL + '/' + videoId + '/storyboards') | 354 | .get<{ storyboards: Storyboard[] }>(VideoService.BASE_VIDEO_URL + '/' + videoId + '/storyboards', { headers }) |
353 | .pipe( | 355 | .pipe( |
354 | map(({ storyboards }) => storyboards), | 356 | map(({ storyboards }) => storyboards), |
355 | catchError(err => { | 357 | catchError(err => { |