diff --git a/mod_rest/src/mod_rest.erl b/mod_rest/src/mod_rest.erl index efbb982..24074b2 100644 --- a/mod_rest/src/mod_rest.erl +++ b/mod_rest/src/mod_rest.erl @@ -46,11 +46,7 @@ start(_Host, _Opts) -> stop(_Host) -> ok. -process([], #request{method = 'POST', - data = Data, - host = Host, - ip = ClientIp - }) -> +process([], #request{method = 'POST', data = Data, host = Host, ip = ClientIp}) -> try {ClientAddress, _PortNumber} = ClientIp, check_member_option(Host, ClientAddress, allowed_ips),