From c54879c26e87990bdca31e7dfb08956a85cc7405 Mon Sep 17 00:00:00 2001 From: jedi Date: Sun, 15 Dec 2019 18:15:41 +0100 Subject: [PATCH] bugfix in ItemController --- app/Http/Controllers/ItemController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ItemController.php b/app/Http/Controllers/ItemController.php index 19df81b..03014d4 100644 --- a/app/Http/Controllers/ItemController.php +++ b/app/Http/Controllers/ItemController.php @@ -51,7 +51,7 @@ class ItemController extends Controller $item = Item::findOrFail($id); $item->update($request->all()); - return response()->json($event, $item, 200); + return response()->json($item, 200); } public function delete($event, $id)