API update, eslint minor changes

This commit is contained in:
mrfry
2020-11-28 14:57:46 +01:00
parent 37060e9e69
commit 299857c11d
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ export default function TodoTable() {
}
const onCardClick = (id) => {
fetch(`${constants.apiUrl}todos?id=${id}`, {
fetch(`${constants.apiUrl}voteTodo?id=${id}`, {
credentials: 'include',
})
.then((resp) => {