diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:22:17 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:22:17 +0200 |
commit | aa2e7f1501ce108e0c250538aba7046fddefc935 (patch) | |
tree | c1ef2d2f4b75bcacb54a4ac396bd668ec3b7168d /client/src/app/+admin/friends | |
parent | 337c258e77b28bb39e61b7b88cbdaa18363b9461 (diff) | |
download | PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.tar.gz PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.tar.zst PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.zip |
urls: makefriends/quitfriends -> make-friends/quit-friends
Diffstat (limited to 'client/src/app/+admin/friends')
-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 8bc0239ab..9b3ff04b1 100644 --- a/client/src/app/+admin/friends/shared/friend.service.ts +++ b/client/src/app/+admin/friends/shared/friend.service.ts | |||
@@ -26,13 +26,13 @@ export class FriendService { | |||
26 | hosts: notEmptyHosts | 26 | hosts: notEmptyHosts |
27 | } | 27 | } |
28 | 28 | ||
29 | return this.authHttp.post(FriendService.BASE_FRIEND_URL + 'makefriends', body) | 29 | return this.authHttp.post(FriendService.BASE_FRIEND_URL + 'make-friends', body) |
30 | .map(this.restExtractor.extractDataBool) | 30 | .map(this.restExtractor.extractDataBool) |
31 | .catch((res) => this.restExtractor.handleError(res)) | 31 | .catch((res) => this.restExtractor.handleError(res)) |
32 | } | 32 | } |
33 | 33 | ||
34 | quitFriends () { | 34 | quitFriends () { |
35 | return this.authHttp.get(FriendService.BASE_FRIEND_URL + 'quitfriends') | 35 | return this.authHttp.get(FriendService.BASE_FRIEND_URL + 'quit-friends') |
36 | .map(res => res.status) | 36 | .map(res => res.status) |
37 | .catch((res) => this.restExtractor.handleError(res)) | 37 | .catch((res) => this.restExtractor.handleError(res)) |
38 | } | 38 | } |