fix voting

This commit is contained in:
Henry Jameson 2026-06-22 16:19:53 +03:00
commit 1313e55d98

View file

@ -60,7 +60,7 @@ export const usePollsStore = defineStore('polls', {
pollId,
choices,
credentials: useOAuthStore().token,
}).then((poll) => {
}).then(({ data: poll }) => {
this.mergeOrAddPoll(poll)
return poll
})