Skip to content

Commit 943b2ee

Browse files
author
Maciej Szlosarczyk
committed
Fix code style
1 parent 085b2f8 commit 943b2ee

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

apps/epp_proxy/src/epp_http_client.erl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ handle_args(#epp_request{method = get, url = URL,
4545
handle_args(#epp_request{method = post, url = URL,
4646
payload = Payload, headers = Headers,
4747
cookies = Cookies}) ->
48-
[post, URL, Headers, Payload,
49-
hackney_options(Cookies)].
48+
[post, URL, Headers, Payload, hackney_options(Cookies)].
5049

5150
%% Map request and return values.
5251
request_from_map(#{command := ?errorCommand,
@@ -85,9 +84,9 @@ request_from_map(#{command := Command,
8584
%% Get hackney options
8685
hackney_options(Cookies) ->
8786
case application:get_env(epp_proxy, insecure) of
88-
false -> [{cookies, Cookies}, insecure];
89-
_ -> [{cookies, Cookies}]
90-
end.
87+
false -> [{cookies, Cookies}, insecure];
88+
_ -> [{cookies, Cookies}]
89+
end.
9190

9291
%% Return form data or an empty list.
9392
request_body(?helloCommand, _, _) -> "";

0 commit comments

Comments
 (0)