Skip to content

Commit

Permalink
Fixs this match for ecto 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
pmonson711 committed Aug 26, 2024
1 parent 43c34c4 commit a57c1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fob/ordering.ex
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defmodule Fob.Ordering do

@spec config(%Query{}) :: [t()]
def config(%Query{order_bys: orderings} = query) do
Enum.flat_map(orderings, fn %Query.QueryExpr{expr: exprs} ->
Enum.flat_map(orderings, fn %{expr: exprs} ->
config_from_ordering_expressions(exprs, query)
end)
end
Expand Down

0 comments on commit a57c1f4

Please sign in to comment.