Skip to content

Commit

Permalink
fix: handle additional case for new functional repo callback
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Nov 14, 2023
1 parent db8255e commit 2b29f72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ defmodule AshPostgres.Transformers.PreventMultidimensionalArrayAggregates do
end
end)

repo = Transformer.get_option(dsl, [:postgres], :repo)
repo = AshPostgres.DataLayer.Info.repo(dsl, :mutate)

cond do
match?({:error, _}, Code.ensure_compiled(repo)) ->
Expand Down

0 comments on commit 2b29f72

Please sign in to comment.