From: Maxim Filippov Date: Tue, 15 Jan 2019 00:58:48 +0000 (+0200) Subject: Fix Elixir 1.8 type annotation issue X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e8eff9fe03faa1922357d438ed973f5b83605aab;p=akkoma Fix Elixir 1.8 type annotation issue --- diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex index 185ba25fa..2a48331d7 100644 --- 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}