Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 22, 2025
1 parent ebe214a commit 79f5b8f
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 @@ -1268,7 +1268,7 @@ defmodule AshSqlite.DataLayer do
keys = keys || Ash.Resource.Info.primary_key(keys)

explicitly_changing_attributes =
Map.keys(changeset.attributes) -- Map.get(changeset, :defaults, []) -- keys
Map.keys(changeset.attributes) -- (Map.get(changeset, :defaults, []) -- keys)

upsert_fields =
changeset.context[:private][:upsert_fields] || explicitly_changing_attributes
Expand Down

0 comments on commit 79f5b8f

Please sign in to comment.