Browse Source

Ignore http_uri:encode/1 deprecation warning

Switching to uri_string as the warning suggest
would ruin OTP 20 compatibility.
pull/2191/head
Michael Klishin 5 years ago
parent
commit
cb5558a5dc
No known key found for this signature in database GPG Key ID: E80EDCFA0CDB21EE
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/r3_hex_api.erl

+ 2
- 0
src/r3_hex_api.erl View File

@ -28,6 +28,8 @@ put(Config, Path, Body) ->
delete(Config, Path) ->
request(Config, delete, Path, undefined).
-compile({nowarn_deprecated_function, [http_uri, encode, 1]}).
%% @private
encode_query_string(List) ->
QueryString =

Loading…
Cancel
Save