Skip to content

Commit

Permalink
chore: fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Nov 27, 2023
1 parent 5eec41c commit 1a4c22b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ash_money/types/money.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ defmodule AshMoney.Types.Money do
]
end

@composite_type if(Code.ensure_loaded?(Money.Ecto.Composite.Type)) do
Money.Ecto.Composite.Type
if Code.ensure_loaded?(Money.Ecto.Composite.Type) do
@composite_type Money.Ecto.Composite.Type
else
Money.Ecto.Map.Type
@composite_type Money.Ecto.Map.Type
end

@impl true
Expand Down

0 comments on commit 1a4c22b

Please sign in to comment.