bugfix in ItemController
This commit is contained in:
parent
035c8181ad
commit
c54879c26e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue