X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo-caption%2Fvideo-caption.service.ts;h=a1838ab16219a0311afcac253ffeee6d3977bee6;hb=23db998f07d674c621972a769df73203b14e093a;hp=08fd61265964ab5cda7d4e4823e81a0fd0d4866f;hpb=9fe4406794aaa4503d090ca4bfe6872b4e556178;p=github%2FChocobozzz%2FPeerTube.git 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 08fd61265..a1838ab16 100644 --- a/client/src/app/shared/video-caption/video-caption.service.ts +++ b/client/src/app/shared/video-caption/video-caption.service.ts @@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http' import { Injectable } from '@angular/core' import { forkJoin, Observable, of } from 'rxjs' import { peertubeTranslate, ResultList } from '../../../../../shared' -import { RestExtractor, RestService } from '../rest' +import { RestExtractor } from '../rest' import { VideoService } from '@app/shared/video/video.service' import { objectToFormData, sortBy } from '@app/shared/misc/utils' import { VideoCaptionEdit } from '@app/shared/video-caption/video-caption-edit.model' @@ -15,7 +15,6 @@ export class VideoCaptionService { constructor ( private authHttp: HttpClient, private serverService: ServerService, - private restService: RestService, private restExtractor: RestExtractor ) {}