Skip to content

Commit

Permalink
fix api
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Nov 11, 2024
1 parent b5e2f98 commit cd1a5f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/API/PhysicalServerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ public function store(StorePhysicalServerRequest $request)
return response()->json($physicalserver, 201);
}

public function show(PhysicalServer $physicalserver)
public function show(PhysicalServer $physicalServer)
{
abort_if(Gate::denies('physical_server_show'), Response::HTTP_FORBIDDEN, '403 Forbidden');

return new PhysicalServerResource($physicalserver);
return new PhysicalServerResource($physicalServer);
}

public function update(UpdatePhysicalServerRequest $request, PhysicalServer $physicalServer)
Expand Down

0 comments on commit cd1a5f4

Please sign in to comment.