diff options
Diffstat (limited to 'client/src/app/+admin/follows/shared/follow.service.ts')
-rw-r--r-- | client/src/app/+admin/follows/shared/follow.service.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+admin/follows/shared/follow.service.ts b/client/src/app/+admin/follows/shared/follow.service.ts index 622c33cea..3dc91dfca 100644 --- a/client/src/app/+admin/follows/shared/follow.service.ts +++ b/client/src/app/+admin/follows/shared/follow.service.ts | |||
@@ -7,7 +7,7 @@ import 'rxjs/add/operator/map' | |||
7 | import { SortMeta } from 'primeng/primeng' | 7 | import { SortMeta } from 'primeng/primeng' |
8 | 8 | ||
9 | import { RestExtractor, RestPagination, RestService } from '../../../shared' | 9 | import { RestExtractor, RestPagination, RestService } from '../../../shared' |
10 | import { Pod, ResultList } from '../../../../../../shared' | 10 | import { AccountFollow, ResultList } from '../../../../../../shared' |
11 | 11 | ||
12 | @Injectable() | 12 | @Injectable() |
13 | export class FollowService { | 13 | export class FollowService { |
@@ -19,7 +19,7 @@ export class FollowService { | |||
19 | private restExtractor: RestExtractor | 19 | private restExtractor: RestExtractor |
20 | ) {} | 20 | ) {} |
21 | 21 | ||
22 | getFollowing (pagination: RestPagination, sort: SortMeta): Observable<ResultList<Pod>> { | 22 | getFollowing (pagination: RestPagination, sort: SortMeta): Observable<ResultList<AccountFollow>> { |
23 | let params = new HttpParams() | 23 | let params = new HttpParams() |
24 | params = this.restService.addRestGetParams(params, pagination, sort) | 24 | params = this.restService.addRestGetParams(params, pagination, sort) |
25 | 25 | ||
@@ -28,7 +28,7 @@ export class FollowService { | |||
28 | .catch(res => this.restExtractor.handleError(res)) | 28 | .catch(res => this.restExtractor.handleError(res)) |
29 | } | 29 | } |
30 | 30 | ||
31 | getFollowers (pagination: RestPagination, sort: SortMeta): Observable<ResultList<Pod>> { | 31 | getFollowers (pagination: RestPagination, sort: SortMeta): Observable<ResultList<AccountFollow>> { |
32 | let params = new HttpParams() | 32 | let params = new HttpParams() |
33 | params = this.restService.addRestGetParams(params, pagination, sort) | 33 | params = this.restService.addRestGetParams(params, pagination, sort) |
34 | 34 | ||