mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-10 11:09:43 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ defmodule Pleroma.Web.OAuth.Authorization 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 a new issue