This commit is contained in:
ludo
2025-03-18 13:06:02 +01:00
parent 592402a6c1
commit adbba79bd2
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(),