From: Maksim Date: Sun, 13 Sep 2020 11:54:15 +0000 (+0000) Subject: Apply 1 suggestion(s) to 1 file(s) X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=489a107cf449a10c7f6ac9a4b8d4a7f9f7314c5c;p=akkoma Apply 1 suggestion(s) to 1 file(s) --- diff --git a/lib/pleroma/emoji/pack.ex b/lib/pleroma/emoji/pack.ex index 930bbb422..0b3f8f00b 100644 --- a/lib/pleroma/emoji/pack.ex +++ b/lib/pleroma/emoji/pack.ex @@ -84,7 +84,7 @@ defmodule Pleroma.Emoji.Pack do end) end - @spec add_file(String.t(), String.t(), Path.t(), Plug.Upload.t()) :: + @spec add_file(t(), String.t(), Path.t(), Plug.Upload.t()) :: {:ok, t()} | {:error, File.posix() | atom()} def add_file(%Pack{} = pack, _, _, %Plug.Upload{content_type: "application/zip"} = file) do