mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 17:24:07 +00:00
Add API call to remove an item from the shopping list by productid
This adds an API call, so a shopping list item can easily be removed Please note: This is UNTESTED, as I was unable to run the current grocy master commit on my server.
This commit is contained in:
@@ -167,6 +167,7 @@ $app->group('/api', function()
|
||||
{
|
||||
$this->post('/stock/shoppinglist/add-missing-products', '\Grocy\Controllers\StockApiController:AddMissingProductsToShoppingList');
|
||||
$this->post('/stock/shoppinglist/clear', '\Grocy\Controllers\StockApiController:ClearShoppingList');
|
||||
$this->post('/stock/shoppinglist/remove-from-list', '\Grocy\Controllers\StockApiController:RemoveFromShoppingList');
|
||||
}
|
||||
|
||||
// Recipes
|
||||
|
Reference in New Issue
Block a user