diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-12-02 18:13:31 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-12-03 07:15:15 +0100 |
commit | beea174e8232d98af1835f5e6705709042004a57 (patch) | |
tree | 817aeb7200b7330d77f6c2459eca05c4457920be /src/mixins | |
parent | bf4575799708cddf9ff0dfdb7d7531db27c4cbd1 (diff) |
Update account api urls
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/mixins')
-rw-r--r-- | src/mixins/follow.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mixins/follow.js b/src/mixins/follow.js index 09fde974..111ec18e 100644 --- a/src/mixins/follow.js +++ b/src/mixins/follow.js @@ -25,10 +25,10 @@ import axios from 'nextcloud-axios' export default { methods: { follow() { - return axios.put(OC.generateUrl('/apps/social/api/v1/account/follow?account=' + this.item.account)) + return axios.put(OC.generateUrl('/apps/social/api/v1/current/follow?account=' + this.item.account)) }, unfollow() { - return axios.delete(OC.generateUrl('/apps/social/api/v1/account/follow?account=' + this.item.account)) + return axios.delete(OC.generateUrl('/apps/social/api/v1/current/follow?account=' + this.item.account)) } } } |