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)