From 39fdb3c032875ab8c9a1e5e52f76d3baa0ac4e63 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 15 Dec 2017 17:38:48 +0100 Subject: Unfollow with host --- client/src/app/+admin/follows/shared/follow.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app') 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 { } unfollow (follow: AccountFollow) { - return this.authHttp.delete(FollowService.BASE_APPLICATION_URL + '/following/' + follow.following.id) + return this.authHttp.delete(FollowService.BASE_APPLICATION_URL + '/following/' + follow.following.host) .map(this.restExtractor.extractDataBool) .catch(res => this.restExtractor.handleError(res)) } -- cgit v1.2.3