Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Gieling <github@dartcafe.de>2020-12-05 22:44:00 +0300
committerGitHub <noreply@github.com>2020-12-05 22:44:00 +0300
commitbf0081da09828db80da3b716ca274e3313241aa4 (patch)
tree1d4e6a0d69b39826b9b737144a9734a8101c99d0 /src/js/store
parentb353a90b1b4fc4c065c1c376caf5e166c917b087 (diff)
Psalm (#1277)
* added config for psalm * removed, fixed and additions annotations * added typehints
Diffstat (limited to 'src/js/store')
-rw-r--r--src/js/store/modules/subModules/shares.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/store/modules/subModules/shares.js b/src/js/store/modules/subModules/shares.js
index 178669b8..66486eb6 100644
--- a/src/js/store/modules/subModules/shares.js
+++ b/src/js/store/modules/subModules/shares.js
@@ -147,9 +147,9 @@ const actions = {
},
sendInvitation(context, payload) {
- const endPoint = 'apps/polls/share/send'
+ const endPoint = 'apps/polls/share'
- return axios.post(generateUrl(endPoint + '/' + payload.share.token + '/send'))
+ return axios.post(generateUrl(endPoint + '/' + payload.share.token + '/invite'))
.then((response) => {
return response
})