projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f20bfc9
)
Fix Elixir 1.8 type annotation issue
author
Maxim Filippov
<colixer@gmail.com>
Tue, 15 Jan 2019 00:58:48 +0000
(
02:58
+0200)
committer
Maxim Filippov
<colixer@gmail.com>
Tue, 15 Jan 2019 00:58:48 +0000
(
02:58
+0200)
lib/pleroma/upload.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/upload.ex
b/lib/pleroma/upload.ex
index 185ba25fa15effd4b85e98c675d9be4823bb0a26..2a48331d7d3f558e707d3da3ea45c5f53e0dc530 100644
(file)
--- a/
lib/pleroma/upload.ex
+++ b/
lib/pleroma/upload.ex
@@
-34,8
+34,9
@@
defmodule Pleroma.Upload do
require Logger
@type source ::
- Plug.Upload.t() | data_uri_string ::
- String.t() | {:from_local, name :: String.t(), id :: String.t(), path :: String.t()}
+ Plug.Upload.t()
+ | (data_uri_string :: String.t())
+ | {:from_local, name :: String.t(), id :: String.t(), path :: String.t()}
@type option ::
{:type, :avatar | :banner | :background}