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 {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'JWT/votings/vote/' + title
|
||||
url: 'JWT/votings/' + title
|
||||
}).then(
|
||||
function () {
|
||||
getVotings();
|
||||
|
Loading…
x
Reference in New Issue
Block a user