Skip to content

Commit

Permalink
fix http_options to make client compatible with gun 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
beligante committed Apr 4, 2023
1 parent 5246ae7 commit a7640a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ldclient_http_options.erl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ gun_parse_http_options(HttpOptions, GunOptions) ->
gun_parse_tls_options(#{tls_options := undefined}, GunOptions) -> GunOptions;
gun_parse_tls_options(#{tls_options := TlsOptions}, GunOptions) ->
GunOptions#{
transport_opts => TlsOptions
tls_opts => TlsOptions
}.

-spec gun_append_custom_headers(Headers :: map(), ConfigOptions :: ldclient_config:http_options()) -> map().
Expand Down

0 comments on commit a7640a8

Please sign in to comment.