summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-01-20 17:28:54 -0500
committerMark Felder <feld@feld.me>2024-01-20 17:28:54 -0500
commit551e90cd52a11dcb11840c6c4074db4a3c580703 (patch)
tree2c5c98177730a42d3d24423a4a6270d29d93ffc7
parentf050a75b92546968f9ec351f78a48e6b6ac75a6b (diff)
downloadpleroma-551e90cd52a11dcb11840c6c4074db4a3c580703.tar.gz
pleroma-551e90cd52a11dcb11840c6c4074db4a3c580703.zip
Fix invalid type
lib/pleroma/upload.ex:89:unknown_type Unknown type: Map.t/0.
-rw-r--r--lib/pleroma/upload.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex
index bedd7889a..3c355e64d 100644
--- a/lib/pleroma/upload.ex
+++ b/lib/pleroma/upload.ex
@@ -86,7 +86,7 @@ defmodule Pleroma.Upload do
end
end
- @spec store(source, options :: [option()]) :: {:ok, Map.t()} | {:error, any()}
+ @spec store(source, options :: [option()]) :: {:ok, map()} | {:error, any()}
@doc "Store a file. If using a `Plug.Upload{}` as the source, be sure to use `Majic.Plug` to ensure its content_type and filename is correct."
def store(upload, opts \\ []) do
opts = get_opts(opts)