logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 2061a1d917a15bfe12b767c665c05750597e6145
parent 551e90cd52a11dcb11840c6c4074db4a3c580703
Author: Mark Felder <feld@feld.me>
Date:   Sat, 20 Jan 2024 17:29:27 -0500

Fix invalid type

lib/pleroma/uploaders/uploader.ex:43:unknown_type
Unknown type: Map.t/0.

Diffstat:

Mlib/pleroma/uploaders/uploader.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/uploaders/uploader.ex b/lib/pleroma/uploaders/uploader.ex @@ -40,7 +40,7 @@ defmodule Pleroma.Uploaders.Uploader do @callback delete_file(file :: String.t()) :: :ok | {:error, String.t()} - @callback http_callback(Plug.Conn.t(), Map.t()) :: + @callback http_callback(Plug.Conn.t(), map()) :: {:ok, Plug.Conn.t()} | {:ok, Plug.Conn.t(), file_spec()} | {:error, Plug.Conn.t(), String.t()}