Skip to content

Commit b3b52c1

Browse files
authored
Update RecordStripeEvent.php
1 parent 022b582 commit b3b52c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Http/Requests/RecordStripeEvent.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ public function process()
3131
? $data['data']['previous_attributes']
3232
: [];
3333
$stripeCustomerId = $this->findStripeCustomerId($transaction);
34-
$authModel = config('cashier.model') ?? config('auth.providers.users.model') ?? config('auth.model');
34+
$authModel = config('cashier.model')
35+
?? config('auth.providers.users.model')
36+
?? config('auth.model');
3537
$user = app($authModel)->where('stripe_id', $stripeCustomerId)->first();
3638

3739
if (! $user) {

0 commit comments

Comments
 (0)