diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-11-15 12:59:47 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-11-21 15:23:40 +0100 |
commit | 4377d02305862d0584e0df0b7855d7f10dc98b10 (patch) | |
tree | 616b828a8cf9a56bbed2406d2643629ca1297e46 /src/store | |
parent | 101795d5b0663b32819a3b7ad72563859b5e3ae1 (diff) |
Fix successful submit
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/store')
-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 2978bd59..a2e110ac 100644 --- a/src/store/timeline.js +++ b/src/store/timeline.js @@ -41,7 +41,7 @@ const getters = { } const actions = { post(context, post) { - axios.post(OC.generateUrl('apps/social/api/v1/post'), {data: post}).then((response) => { + return axios.post(OC.generateUrl('apps/social/api/v1/post'), {data: post}).then((response) => { let uid = '' context.commit('addPost', { uid: uid, data: response.data }) }) |