}
updateCaptions (videoId: number | string, videoCaptions: VideoCaptionEdit[]) {
- if (videoCaptions.length === 0) return of(true)
-
const observables: Observable<any>[] = []
for (const videoCaption of videoCaptions) {
}
}
+ if (observables.length === 0) return of(true)
+
return forkJoin(observables)
}
}