Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
cb5558a5dc
No known key found for this signature in database GPG Key ID: E80EDCFA0CDB21EE
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. +2
    -0
      src/r3_hex_api.erl

+ 2
- 0
src/r3_hex_api.erl Näytä tiedosto

@ -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 =

Ladataan…
Peruuta
Tallenna