mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: properly set the changed?
context
This commit is contained in:
parent
4b57bcc8c7
commit
56656deda4
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ defmodule Ash.Actions.Update do
|
|||
changeset =
|
||||
changeset
|
||||
|> Ash.Changeset.set_defaults(:update, true)
|
||||
|> Ash.Changeset.put_context(:changed?, false)
|
||||
|> Ash.Changeset.put_context(:changed?, true)
|
||||
|
||||
resource
|
||||
|> Ash.DataLayer.update(changeset)
|
||||
|
|
Loading…
Reference in a new issue