Skip to content

Commit

Permalink
Update ShoppingListEntriesAPI.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aquzif committed Feb 6, 2024
1 parent 5c9d51a commit 43e3892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API/ShoppingListEntriesAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class ShoppingListEntriesAPI {

static async check(shoppingListId, id,newStatus) {
return await RequestUtils.apiPut('/api/shopping-list/' + shoppingListId + '/entry/' + id + '/check',{
checked: newStatus
checked: newStatus ? '1' : '0'
});
}

Expand Down

0 comments on commit 43e3892

Please sign in to comment.