chore: credo

This commit is contained in:
Zach Daniel 2023-08-22 14:31:32 -04:00
parent 56a96f04ed
commit 7da453409c

View file

@ -1431,9 +1431,10 @@ defmodule Ash.Changeset do
changeset.context changeset.context
) )
with {:ok, opts} <- module.init(opts) do case module.init(opts) do
{:ok, opts} ->
module.validate(changeset, opts) == :ok module.validate(changeset, opts) == :ok
else
_ -> _ ->
false false
end end