mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 10:14:39 +00:00
Rework API to be more RESTful (references #139)
This commit is contained in:
@@ -52,7 +52,7 @@ $(document).on('click', '.chore-delete-button', function (e)
|
||||
{
|
||||
if (result === true)
|
||||
{
|
||||
Grocy.Api.Delete('object/chores/' + objectId,
|
||||
Grocy.Api.Delete('objects/chores/' + objectId, {},
|
||||
function(result)
|
||||
{
|
||||
window.location.href = U('/chores');
|
||||
|
Reference in New Issue
Block a user