aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/follows/shared/redundancy.service.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-24 10:40:38 +0200
committerGitHub <noreply@github.com>2018-09-24 10:40:38 +0200
commit6937f26a5e8b17c7a27f267bce2682ab01611f2f (patch)
tree5d9b160e257a2bd116e67c9363b798f422ead44c /client/src/app/+admin/follows/shared/redundancy.service.ts
parent01448622992b12318a2fff508e501732b59dd6be (diff)
parent0b4e5fe32708afce54212810738aa4d0c3dc178d (diff)
downloadPeerTube-6937f26a5e8b17c7a27f267bce2682ab01611f2f.tar.gz
PeerTube-6937f26a5e8b17c7a27f267bce2682ab01611f2f.tar.zst
PeerTube-6937f26a5e8b17c7a27f267bce2682ab01611f2f.zip
Merge pull request #1105 from BO41/unused-imports
remove unused imports
Diffstat (limited to 'client/src/app/+admin/follows/shared/redundancy.service.ts')
-rw-r--r--client/src/app/+admin/follows/shared/redundancy.service.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/+admin/follows/shared/redundancy.service.ts b/client/src/app/+admin/follows/shared/redundancy.service.ts
index 96b29faab..87ae01c04 100644
--- a/client/src/app/+admin/follows/shared/redundancy.service.ts
+++ b/client/src/app/+admin/follows/shared/redundancy.service.ts
@@ -1,7 +1,7 @@
1import { catchError, map } from 'rxjs/operators' 1import { catchError, map } from 'rxjs/operators'
2import { HttpClient } from '@angular/common/http' 2import { HttpClient } from '@angular/common/http'
3import { Injectable } from '@angular/core' 3import { Injectable } from '@angular/core'
4import { RestExtractor, RestService } from '@app/shared' 4import { RestExtractor } from '@app/shared'
5import { environment } from '../../../../environments/environment' 5import { environment } from '../../../../environments/environment'
6 6
7@Injectable() 7@Injectable()
@@ -10,8 +10,7 @@ export class RedundancyService {
10 10
11 constructor ( 11 constructor (
12 private authHttp: HttpClient, 12 private authHttp: HttpClient,
13 private restExtractor: RestExtractor, 13 private restExtractor: RestExtractor
14 private restService: RestService
15 ) { } 14 ) { }
16 15
17 updateRedundancy (host: string, redundancyAllowed: boolean) { 16 updateRedundancy (host: string, redundancyAllowed: boolean) {