From 7c07259ae5c7b636d52b8ec103a19d31c2f5b755 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 Jun 2022 14:47:32 +0200 Subject: Fix fetching unlisted video in client --- .../src/app/shared/shared-main/video-caption/video-caption.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/shared-main/video-caption/video-caption.service.ts') diff --git a/client/src/app/shared/shared-main/video-caption/video-caption.service.ts b/client/src/app/shared/shared-main/video-caption/video-caption.service.ts index 00ebe5bc6..0f3afd116 100644 --- a/client/src/app/shared/shared-main/video-caption/video-caption.service.ts +++ b/client/src/app/shared/shared-main/video-caption/video-caption.service.ts @@ -18,7 +18,7 @@ export class VideoCaptionService { private restExtractor: RestExtractor ) {} - listCaptions (videoId: number | string): Observable> { + listCaptions (videoId: string): Observable> { return this.authHttp.get>(`${VideoService.BASE_VIDEO_URL}/${videoId}/captions`) .pipe( switchMap(captionsResult => { -- cgit v1.2.3