From 9fb074bd44e54700802235e927c9bb1b52a846bd Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Fri, 10 Nov 2023 19:35:06 +0100 Subject: [PATCH] fix(routes): delete item route Signed-off-by: Richard Steinmetz --- appinfo/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/routes.php b/appinfo/routes.php index 40c9ba6..dd62e88 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -19,7 +19,7 @@ ['name' => 'GroceryList#checkItem', 'url' => '/api/item/check', 'verb' => 'POST'], ['name' => 'GroceryList#updateItem', 'url' => '/api/item/update', 'verb' => 'POST'], ['name' => 'GroceryList#hideItem', 'url' => '/api/item/hide', 'verb' => 'POST'], - ['name' => 'GroceryList#deleteItem', 'url' => '/item/{id}', 'verb' => 'DELETE'], + ['name' => 'GroceryList#deleteItem', 'url' => '/api/item/{id}', 'verb' => 'DELETE'], ['name' => 'GroceryList#listCategories', 'url' => '/api/categories/{id}', 'verb' => 'GET'], ['name' => 'GroceryList#listAllCategories', 'url' => '/api/all_categories/{id}', 'verb' => 'GET'],