summaryrefslogtreecommitdiff
path: root/src/mod_http_api.erl
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2016-04-01 12:24:49 +0200
committerMickael Remond <mremond@process-one.net>2016-04-01 12:24:49 +0200
commit47266de6d7344588bfbd38c6de2aac8004087f4d (patch)
tree975d0cc39487f14e56460b97e462d67c07276f0b /src/mod_http_api.erl
parentRollback mod_admin_extra (diff)
Do not use underscore variable
Diffstat (limited to 'src/mod_http_api.erl')
-rw-r--r--src/mod_http_api.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_http_api.erl b/src/mod_http_api.erl
index 73a07205..c4fae202 100644
--- a/src/mod_http_api.erl
+++ b/src/mod_http_api.erl
@@ -188,8 +188,8 @@ check_permissions2(#request{ip={IP, _Port}}, Call, _Policy) ->
true -> {allowed, Call, admin};
_ -> unauthorized_response()
end;
- _E ->
- ?DEBUG("Unauthorized: ~p", [_E]),
+ E ->
+ ?DEBUG("Unauthorized: ~p", [E]),
unauthorized_response()
end;
check_permissions2(_Request, _Call, _Policy) ->