Skip to content

Commit

Permalink
Fix test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Jan 3, 2025
1 parent 9d862ed commit 9d76591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/Actions/AddressController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function create(Requests\CreateOrUpdateAddressRequest $request)
return $this->withErrors($request, __('No customer_id to associate the address with'));
}

$validatedData = $request->validate($this->rules());
$validatedData = $request->validated();

try {

Expand Down Expand Up @@ -70,7 +70,7 @@ public function store(Requests\CreateOrUpdateAddressRequest $request, $id)
return $this->withErrors($request, __('No customer_id to associate the address with'));
}

$validatedData = $request->validate($this->rules());
$validatedData = $request->validated();

try {

Expand Down

0 comments on commit 9d76591

Please sign in to comment.