fix the endpoint for the post request
This commit is contained in:
parent
3cb6f97610
commit
94daa6e4eb
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ let app = new Vue({
|
|||
methods: {
|
||||
async start_poll(poll_data) {
|
||||
try {
|
||||
let r = await axios.post("/twitch/czechgamesedition/poll", poll_data);
|
||||
let r = await axios.post("/polls/twitch/czechgamesedition/poll", poll_data);
|
||||
alert("Poll should've been created successfully.");
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue