This commit is contained in:
ludo
2025-03-18 13:06:02 +01:00
parent 08fc49cb61
commit b214d8dc74
6 changed files with 21 additions and 9 deletions

View File

@@ -33,7 +33,7 @@ class BasketController extends Controller
return Baskets::addBasket($offerId, $quantity, $update);
}
public function modalBasket($offerId, $quantity)
public function modalBasket($offerId, $quantity = 1)
{
$data = [
'offer' => Offers::getFull($offerId)->toArray(),