diff options
author | Jonas Sulzer <jonas@violoncello.ch> | 2019-03-12 17:01:14 +0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-05-03 16:30:39 -0100 |
commit | cad249c0174913041b88947f822446a68a700a11 (patch) | |
tree | 949be1f8e1f433845aecc4e259fe046d991b6426 /src | |
parent | 7626c31c6f74f35d2f040ee04d048ae70c897922 (diff) |
🐛 FIX: wrong post url
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Diffstat (limited to 'src')
-rw-r--r-- | src/store/timeline.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/timeline.js b/src/store/timeline.js index 8398c0ed..16188ef4 100644 --- a/src/store/timeline.js +++ b/src/store/timeline.js @@ -98,7 +98,7 @@ const actions = { }, postBoost(context, post) { return new Promise((resolve, reject) => { - axios.post(OC.generateUrl(`apps/social/api/v1/boost?postId=${post.id}`)).then((response) => { + axios.post(OC.generateUrl(`apps/social/api/v1/post/boost?postId=${post.id}`)).then((response) => { // eslint-disable-next-line no-console console.log('Post boosted with token ' + response.data.result.token) resolve(response) |