diff options
Diffstat (limited to 'client/src/app/+admin/friends/shared/friend.service.ts')
-rw-r--r-- | client/src/app/+admin/friends/shared/friend.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/friends/shared/friend.service.ts b/client/src/app/+admin/friends/shared/friend.service.ts index 083a2fce0..867656a53 100644 --- a/client/src/app/+admin/friends/shared/friend.service.ts +++ b/client/src/app/+admin/friends/shared/friend.service.ts | |||
@@ -23,7 +23,7 @@ export class FriendService { | |||
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 | ||
26 | return this.authHttp.get<ResultList<Account>>(API_URL + '/followers', { params }) | 26 | return this.authHttp.get<ResultList<Account>>(API_URL + '/api/v1/pods/followers', { params }) |
27 | .map(res => this.restExtractor.convertResultListDateToHuman(res)) | 27 | .map(res => this.restExtractor.convertResultListDateToHuman(res)) |
28 | .catch(res => this.restExtractor.handleError(res)) | 28 | .catch(res => this.restExtractor.handleError(res)) |
29 | } | 29 | } |
@@ -33,7 +33,7 @@ export class FriendService { | |||
33 | hosts: notEmptyHosts | 33 | hosts: notEmptyHosts |
34 | } | 34 | } |
35 | 35 | ||
36 | return this.authHttp.post(API_URL + '/follow', body) | 36 | return this.authHttp.post(API_URL + '/api/v1/pods/follow', body) |
37 | .map(this.restExtractor.extractDataBool) | 37 | .map(this.restExtractor.extractDataBool) |
38 | .catch(res => this.restExtractor.handleError(res)) | 38 | .catch(res => this.restExtractor.handleError(res)) |
39 | } | 39 | } |