Skip to content

Commit

Permalink
Use enum value
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp authored Mar 28, 2024
1 parent 4e9b6d9 commit 0bbe2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/Payable.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getStripeAccountLink(LinkType $type = LinkType::Onboarding): str
'account' => $this->getStripeAccountId(),
'refresh_url' => URL::route(Config::get('stripe_connect.routes.account.refresh')),
'return_url' => URL::route(Config::get('stripe_connect.routes.account.return')),
'type' => $type,
'type' => $type->value,
]
);

Expand Down

0 comments on commit 0bbe2a5

Please sign in to comment.