1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Update data passed to startTrial

This commit is contained in:
Benjamin Beganović 2021-03-22 14:03:32 +01:00
parent e04ed7c2bf
commit 535d9ae471

View File

@ -300,6 +300,8 @@ class BillingPortalPurchase extends Component
{
return $this->billing_subscription->service()->startTrial([
'email' => $this->email ?? $this->contact->email,
'quantity' => $this->quantity,
'contact_id' => $this->contact->id,
]);
}