logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 94027894373f690ad35300ab3ba1a67867d957cd
parent b283b686c41a997b99047db9a8ccbe015d167b76
Author: Mark Felder <feld@feld.me>
Date:   Mon,  1 Jul 2024 11:47:27 -0400

Dialyzer: fix typespec

Diffstat:

Mlib/pleroma/web/o_auth/app.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/web/o_auth/app.ex b/lib/pleroma/web/o_auth/app.ex @@ -62,7 +62,7 @@ defmodule Pleroma.Web.OAuth.App do |> Repo.insert() end - @spec update(pos_integer(), map()) :: {:ok, t()} | {:error, Ecto.Changeset.t()} + @spec update(pos_integer(), map()) :: {:ok, t()} | {:error, Ecto.Changeset.t()} | nil def update(id, params) do with %__MODULE__{} = app <- Repo.get(__MODULE__, id) do app