aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video-caption
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/video-caption')
-rw-r--r--client/src/app/shared/video-caption/video-caption.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/video-caption/video-caption.service.ts b/client/src/app/shared/video-caption/video-caption.service.ts
index 977f6253a..6bfe67435 100644
--- a/client/src/app/shared/video-caption/video-caption.service.ts
+++ b/client/src/app/shared/video-caption/video-caption.service.ts
@@ -22,7 +22,7 @@ export class VideoCaptionService {
22 return this.authHttp.get<ResultList<VideoCaption>>(VideoService.BASE_VIDEO_URL + videoId + '/captions') 22 return this.authHttp.get<ResultList<VideoCaption>>(VideoService.BASE_VIDEO_URL + videoId + '/captions')
23 .pipe( 23 .pipe(
24 switchMap(captionsResult => { 24 switchMap(captionsResult => {
25 return this.serverService.localeObservable 25 return this.serverService.getServerLocale()
26 .pipe(map(translations => ({ captionsResult, translations }))) 26 .pipe(map(translations => ({ captionsResult, translations })))
27 }), 27 }),
28 map(({ captionsResult, translations }) => { 28 map(({ captionsResult, translations }) => {