Fix invalid type due to typos
lib/pleroma/web/o_auth/authorization.ex:61:unknown_type Unknown type: Authtorizatiton.t/0.
This commit is contained in:
parent
65dfaa6cb9
commit
e5120a2703
|
@ -58,7 +58,7 @@ defp add_lifetime(changeset) do
|
|||
put_change(changeset, :valid_until, NaiveDateTime.add(NaiveDateTime.utc_now(), lifespan))
|
||||
end
|
||||
|
||||
@spec use_changeset(Authtorizatiton.t(), map()) :: Ecto.Changeset.t()
|
||||
@spec use_changeset(Authorization.t(), map()) :: Ecto.Changeset.t()
|
||||
def use_changeset(%Authorization{} = auth, params) do
|
||||
auth
|
||||
|> cast(params, [:used])
|
||||
|
|
Loading…
Reference in New Issue