mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 13:45:51 +00:00
cleanup
This commit is contained in:
@ -209,7 +209,7 @@ class ConsumablesController extends Controller
|
||||
public function checkout(Request $request, $id)
|
||||
{
|
||||
// Check if the consumable exists
|
||||
if (is_null($consumable = Consumable::find($id))) { // TODO -> message
|
||||
if (is_null($consumable = Consumable::find($id))) {
|
||||
return response()->json(Helper::formatStandardApiResponse('error', null, trans('admin/consumables/message.does_not_exist')));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user