Minor fixes

This commit is contained in:
mrfry 2020-11-29 10:04:43 +01:00
parent 6d2b682117
commit b9248f2699
5 changed files with 14 additions and 16 deletions

View file

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