Remove call handled by form request

This commit is contained in:
Marcus Moore 2024-09-16 16:35:33 -07:00
parent 3f07f682de
commit eb35608bb5
No known key found for this signature in database

View file

@ -133,7 +133,6 @@ class AccessoriesController extends Controller
*/ */
public function store(StoreAccessoryRequest $request) public function store(StoreAccessoryRequest $request)
{ {
$this->authorize('create', Accessory::class);
$accessory = new Accessory; $accessory = new Accessory;
$accessory->fill($request->all()); $accessory->fill($request->all());
$accessory = $request->handleImages($accessory); $accessory = $request->handleImages($accessory);