diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index ad262da..b27f7ed 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -406,7 +406,7 @@ class PagesController extends Controller $vehicle_insert = Vehicles::updateOrCreate( [ - 'owner' => $bidder_insert->idbidders, + 'owner' => $bidder_insert->id, ], [ 'year' => $year,