Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rap2hpoutre committed Jan 23, 2018
1 parent 686a0b5 commit d2ef33e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StripeConnect.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static function createAccount($to, $params = [])
"email" => $to->email,
], $params);
return self::create($to, 'account_id', function () use ($params) {
return Customer::create($params);
return StripeAccount::create($params);
});
}

Expand Down

0 comments on commit d2ef33e

Please sign in to comment.