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=0c302acb3c358b4d4d8dee45aed1de1108ea37ea;hp=00ebe5bc6cef785c65d0c23f739b71d77e6612ca;hpb=70a8e50a5d3df90cba615559b5aaba1536356f5a;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 => {