aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-15 17:38:48 +0100
committerChocobozzz <me@florianbigard.com>2017-12-19 10:53:16 +0100
commit39fdb3c032875ab8c9a1e5e52f76d3baa0ac4e63 (patch)
tree01f1d3e8b51d20fc257e7c82dd75e03e3e02d349 /client/src/app/+admin
parenta7d647c4403f8774106f485e8d9323158454e111 (diff)
downloadPeerTube-39fdb3c032875ab8c9a1e5e52f76d3baa0ac4e63.tar.gz
PeerTube-39fdb3c032875ab8c9a1e5e52f76d3baa0ac4e63.tar.zst
PeerTube-39fdb3c032875ab8c9a1e5e52f76d3baa0ac4e63.zip
Unfollow with host
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/follows/shared/follow.service.ts2
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 }