diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2018-04-18 14:16:56 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2018-04-18 14:16:56 +0200 |
commit | a567abcfdf0a5ab17ec7b05f72c36a6405f19602 (patch) | |
tree | 37efdf57744fa1b1cd673fef6099aa5aa1611346 /src/rest.erl | |
parent | Add flexibility on rest url config (diff) |
Fix deprecated call injected by 265c7b62
Diffstat (limited to 'src/rest.erl')
-rw-r--r-- | src/rest.erl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rest.erl b/src/rest.erl index c954083a..df6ed7f0 100644 --- a/src/rest.erl +++ b/src/rest.erl @@ -162,7 +162,6 @@ base_url(Server, Path) -> <<"http", _/binary>> -> BPath; _ -> Base = ejabberd_config:get_option({ext_api_url, Server}, - fun(X) -> iolist_to_binary(X) end, <<"http://localhost/api">>), case binary:last(Base) of 47 -> <<Base/binary, BPath/binary>>; |