Skip to content

Commit a64dd70

Browse files
committed
fix dialyzer error
1 parent 058b515 commit a64dd70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/algora/payments/payments.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ defmodule Algora.Payments do
221221
{:ok, Account.t()} | {:error, Ecto.Changeset.t()} | {:error, :not_found} | {:error, Stripe.Error.t()}
222222
def refresh_stripe_account(user) do
223223
with {:ok, account} <- fetch_account(user, :US),
224-
{:ok, stripe_account} <- Stripe.Account.retrieve(account.provider_id),
224+
{:ok, stripe_account} <- Stripe.Account.retrieve(account.provider_id, []),
225225
{:ok, updated_account} <- update_account(account, stripe_account) do
226226
user = Accounts.get_user(account.user_id)
227227

0 commit comments

Comments
 (0)