Skip to content

Commit

Permalink
fix: use filter not filters in stale record error
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Feb 26, 2025
1 parent 8db0e8a commit 6c9e44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ash/actions/update/update.ex
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ defmodule Ash.Actions.Update do
Ash.Error.to_error_class(
Ash.Error.Changes.StaleRecord.exception(
resource: fully_atomic_changeset.resource,
filters: Map.take(changeset.data, primary_key)
filter: Map.take(changeset.data, primary_key)
),
changeset: atomic_changeset
)}
Expand Down

0 comments on commit 6c9e44f

Please sign in to comment.