diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-16 11:00:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-16 11:06:33 +0200 |
commit | 5fcbd89841be29b373c6e4c8eeaa1f27414c8c7d (patch) | |
tree | 5d3623fc06281065b12ab9687fead7194b62cb3f /client/src/app/+admin/follows/shared | |
parent | 133592034881926dc2da63735fe7344bfedd9c31 (diff) | |
download | PeerTube-5fcbd89841be29b373c6e4c8eeaa1f27414c8c7d.tar.gz PeerTube-5fcbd89841be29b373c6e4c8eeaa1f27414c8c7d.tar.zst PeerTube-5fcbd89841be29b373c6e4c8eeaa1f27414c8c7d.zip |
Fix typings
Diffstat (limited to 'client/src/app/+admin/follows/shared')
-rw-r--r-- | client/src/app/+admin/follows/shared/follow.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+admin/follows/shared/follow.service.ts b/client/src/app/+admin/follows/shared/follow.service.ts index 5897e64ca..87ea5fb0c 100644 --- a/client/src/app/+admin/follows/shared/follow.service.ts +++ b/client/src/app/+admin/follows/shared/follow.service.ts | |||
@@ -22,7 +22,7 @@ export class FollowService { | |||
22 | let params = new HttpParams() | 22 | let params = new HttpParams() |
23 | params = this.restService.addRestGetParams(params, pagination, sort) | 23 | params = this.restService.addRestGetParams(params, pagination, sort) |
24 | 24 | ||
25 | return this.authHttp.get<ResultList<Account>>(FollowService.BASE_APPLICATION_URL + '/following', { params }) | 25 | return this.authHttp.get<ResultList<AccountFollow>>(FollowService.BASE_APPLICATION_URL + '/following', { params }) |
26 | .pipe( | 26 | .pipe( |
27 | map(res => this.restExtractor.convertResultListDateToHuman(res)), | 27 | map(res => this.restExtractor.convertResultListDateToHuman(res)), |
28 | catchError(res => this.restExtractor.handleError(res)) | 28 | catchError(res => this.restExtractor.handleError(res)) |