diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-15 17:38:48 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-19 10:53:16 +0100 |
commit | 39fdb3c032875ab8c9a1e5e52f76d3baa0ac4e63 (patch) | |
tree | 01f1d3e8b51d20fc257e7c82dd75e03e3e02d349 /client | |
parent | a7d647c4403f8774106f485e8d9323158454e111 (diff) | |
download | PeerTube-39fdb3c032875ab8c9a1e5e52f76d3baa0ac4e63.tar.gz PeerTube-39fdb3c032875ab8c9a1e5e52f76d3baa0ac4e63.tar.zst PeerTube-39fdb3c032875ab8c9a1e5e52f76d3baa0ac4e63.zip |
Unfollow with host
Diffstat (limited to 'client')
-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 3a430ff64..089be9d64 100644 --- a/client/src/app/+admin/follows/shared/follow.service.ts +++ b/client/src/app/+admin/follows/shared/follow.service.ts | |||
@@ -47,7 +47,7 @@ export class FollowService { | |||
47 | } | 47 | } |
48 | 48 | ||
49 | unfollow (follow: AccountFollow) { | 49 | unfollow (follow: AccountFollow) { |
50 | return this.authHttp.delete(FollowService.BASE_APPLICATION_URL + '/following/' + follow.following.id) | 50 | return this.authHttp.delete(FollowService.BASE_APPLICATION_URL + '/following/' + follow.following.host) |
51 | .map(this.restExtractor.extractDataBool) | 51 | .map(this.restExtractor.extractDataBool) |
52 | .catch(res => this.restExtractor.handleError(res)) | 52 | .catch(res => this.restExtractor.handleError(res)) |
53 | } | 53 | } |