瀏覽代碼

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 年之前
父節點
當前提交
cb5558a5dc
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: E80EDCFA0CDB21EE
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/r3_hex_api.erl

+ 2
- 0
src/r3_hex_api.erl 查看文件

@ -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…
取消
儲存