Return fresh model instance
This commit is contained in:
parent
48dbd143be
commit
62058e910d
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ class BillingPortalPurchase extends Component
|
|||
|
||||
$client = $client_repo->save($data, ClientFactory::create($company->id, $user->id));
|
||||
|
||||
return $client->contacts->first();
|
||||
return $client->fresh()->contacts->first();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue