aboutsummaryrefslogtreecommitdiff
path: root/src/mod_http_upload_opt.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_http_upload_opt.erl')
-rw-r--r--src/mod_http_upload_opt.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_http_upload_opt.erl b/src/mod_http_upload_opt.erl
index a985c229e..9c35b3c02 100644
--- a/src/mod_http_upload_opt.erl
+++ b/src/mod_http_upload_opt.erl
@@ -111,7 +111,7 @@ secret_length(Opts) when is_map(Opts) ->
secret_length(Host) ->
gen_mod:get_module_opt(Host, mod_http_upload, secret_length).
--spec service_url(gen_mod:opts() | global | binary()) -> binary().
+-spec service_url(gen_mod:opts() | global | binary()) -> 'undefined' | binary().
service_url(Opts) when is_map(Opts) ->
gen_mod:get_opt(service_url, Opts);
service_url(Host) ->