Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Feb 16, 2024
1 parent e903746 commit d4e176a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/banchan/payments/payments.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1626,6 +1626,7 @@ defmodule Banchan.Payments do
end)
|> Map.new(fn {currency, rate} ->
currency = String.slice(currency, 3..5)

{String.to_existing_atom(currency),
Repo.insert!(
Forex.changeset(%Forex{from: base_currency}, %{to: currency, rate: rate}),
Expand Down

0 comments on commit d4e176a

Please sign in to comment.