diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-11-15 12:54:16 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-11-21 15:23:40 +0100 |
commit | 101795d5b0663b32819a3b7ad72563859b5e3ae1 (patch) | |
tree | 29ff2a91b0e31c23734b2e2c646cdde6020197b1 /src/store | |
parent | 3436246ec81a2426ad04ea988534024c77ab3b22 (diff) |
Call newPost message on the server
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/timeline.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/store/timeline.js b/src/store/timeline.js index 2b9c6c8e..2978bd59 100644 --- a/src/store/timeline.js +++ b/src/store/timeline.js @@ -41,8 +41,7 @@ const getters = { } const actions = { post(context, post) { - axios.post(OC.generateUrl('apps/social/api/v1/post')).then((response) => { - // FIXME: post composition is done in #18 + axios.post(OC.generateUrl('apps/social/api/v1/post'), {data: post}).then((response) => { let uid = '' context.commit('addPost', { uid: uid, data: response.data }) }) |