Rename endpoint in JavaScript as backend call uses different endpoint
This commit is contained in:
parent
48b604d6d9
commit
1d477bd0e8
@ -76,7 +76,7 @@ function vote(title) {
|
|||||||
} else {
|
} else {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: 'JWT/votings/vote/' + title
|
url: 'JWT/votings/' + title
|
||||||
}).then(
|
}).then(
|
||||||
function () {
|
function () {
|
||||||
getVotings();
|
getVotings();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user