X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fvideo-caption%2Fvideo-caption.service.ts;h=0f3afd116eb6dd11a84455aab045f009c0930947;hb=7c07259ae5c7b636d52b8ec103a19d31c2f5b755;hp=00ebe5bc6cef785c65d0c23f739b71d77e6612ca;hpb=978489b64c7b329cbfde5ffd7fe806702a3490c7;p=github%2FChocobozzz%2FPeerTube.git 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 => {