mirror of
https://github.com/ash-project/ash_double_entry.git
synced 2024-09-19 13:03:19 +12:00
chore: fix a dummy mistake, this is ash_double_entry
not ash_authentication
This commit is contained in:
parent
5f8ffa2e23
commit
5e7095fb15
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ defmodule AshDoubleEntry.Transfer.Changes.VerifyTransfer do
|
|||
changeset.resource
|
||||
|> AshDoubleEntry.Transfer.Info.transfer_account_resource!()
|
||||
|> Ash.Query.filter(id in ^[from_account_id, to_account_id])
|
||||
|> Ash.Query.set_context(%{ash_authentication?: true})
|
||||
|> Ash.Query.set_context(%{ash_double_entry?: true})
|
||||
|> Ash.Query.for_read(
|
||||
:lock_accounts,
|
||||
%{},
|
||||
|
|
Loading…
Reference in a new issue