mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
chore: fix return type matching for generic actions
This commit is contained in:
parent
bae263ca12
commit
268b335946
1 changed files with 4 additions and 1 deletions
|
@ -1272,8 +1272,11 @@ defmodule Ash do
|
|||
{:ok, result} <- Ash.Actions.Action.run(domain, input, opts) do
|
||||
{:ok, result}
|
||||
else
|
||||
:ok ->
|
||||
:ok
|
||||
|
||||
{:error, error} ->
|
||||
{:error, error}
|
||||
{:error, Ash.Error.to_error_class(error)}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue