diff options
author | Mark Felder <feld@feld.me> | 2024-01-20 17:21:12 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-01-20 17:21:12 -0500 |
commit | e5120a27031c6423504cb15ea1ccd3ef9d47e6e4 (patch) | |
tree | a7afa7c9b7d1ead0f0ce6f06086c0fe2cc9ef068 | |
parent | 65dfaa6cb9f6aa5bf7f66b5f02d63141a93137ba (diff) | |
download | pleroma-e5120a27031c6423504cb15ea1ccd3ef9d47e6e4.tar.gz pleroma-e5120a27031c6423504cb15ea1ccd3ef9d47e6e4.zip |
Fix invalid type due to typos
lib/pleroma/web/o_auth/authorization.ex:61:unknown_type
Unknown type: Authtorizatiton.t/0.
-rw-r--r-- | lib/pleroma/web/o_auth/authorization.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/o_auth/authorization.ex b/lib/pleroma/web/o_auth/authorization.ex index 3340b4b12..22e5bfc53 100644 --- a/lib/pleroma/web/o_auth/authorization.ex +++ b/lib/pleroma/web/o_auth/authorization.ex @@ -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]) |