fix voting
This commit is contained in:
parent
bf86f03a0a
commit
1313e55d98
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ export const usePollsStore = defineStore('polls', {
|
|||
pollId,
|
||||
choices,
|
||||
credentials: useOAuthStore().token,
|
||||
}).then((poll) => {
|
||||
}).then(({ data: poll }) => {
|
||||
this.mergeOrAddPoll(poll)
|
||||
return poll
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue