mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Todo vote api url fix
This commit is contained in:
@@ -154,7 +154,7 @@ export default function Todos() {
|
|||||||
columns={columns}
|
columns={columns}
|
||||||
namedGroups={namedGroups}
|
namedGroups={namedGroups}
|
||||||
voteOn={(card) => {
|
voteOn={(card) => {
|
||||||
fetch(`${constants.apiUrl}todos?id=${card.id}`, {
|
fetch(`${constants.apiUrl}voteTodo?id=${card.id}`, {
|
||||||
credentials: 'include',
|
credentials: 'include',
|
||||||
})
|
})
|
||||||
.then((resp) => {
|
.then((resp) => {
|
||||||
|
Reference in New Issue
Block a user