chore: fix a dummy mistake, this is ash_double_entry not ash_authentication

This commit is contained in:
Zach Daniel 2024-06-18 16:50:23 -04:00
parent 5f8ffa2e23
commit 5e7095fb15

View file

@ -57,7 +57,7 @@ defmodule AshDoubleEntry.Transfer.Changes.VerifyTransfer do
changeset.resource changeset.resource
|> AshDoubleEntry.Transfer.Info.transfer_account_resource!() |> AshDoubleEntry.Transfer.Info.transfer_account_resource!()
|> Ash.Query.filter(id in ^[from_account_id, to_account_id]) |> 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( |> Ash.Query.for_read(
:lock_accounts, :lock_accounts,
%{}, %{},