mirror of
https://github.com/team-alembic/ash_authentication_phoenix.git
synced 2024-09-19 13:03:50 +12:00
chore: use the new alias introduced
This commit is contained in:
parent
2909e22e4c
commit
df1e7c7b03
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ defmodule Example.Accounts.User do
|
|||
if query.action.name == :sign_in_with_password && query.context[:should_fail] do
|
||||
Ash.Query.add_error(
|
||||
query,
|
||||
Ash.Error.Query.InvalidArgument.exception(
|
||||
InvalidArgument.exception(
|
||||
field: :email,
|
||||
message: "I cant let you do that dave."
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue