Skip to content

Commit

Permalink
chore: fix dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 15, 2025
1 parent 6cf1b66 commit bb9bd5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/data_layer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ defmodule AshPostgres.DataLayer do
case Ash.Resource.Info.primary_key(query.resource) do
[] ->
case Ash.Resource.Info.identities(query.resource) do
%{keys: keys} -> keys
[%{keys: keys} | _] -> keys
_ -> []
end

Expand Down

0 comments on commit bb9bd5b

Please sign in to comment.