aboutsummaryrefslogtreecommitdiff
path: root/src/mod_http_api.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-11-25 09:48:26 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-11-25 09:48:26 +0300
commite1539e57690b2ecb2203b1010e7ac5b042e955d2 (patch)
tree8231f11e83a554ab73e0965b1b2ab27dc6985f43 /src/mod_http_api.erl
parentUse new version of xmpp (diff)
Get rid of compile warnings
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 a189777b1..3700060cb 100644
--- a/src/mod_http_api.erl
+++ b/src/mod_http_api.erl
@@ -503,8 +503,8 @@ unauthorized_response() ->
invalid_token_response() ->
json_error(401, 10, <<"Oauth Token is invalid or expired.">>).
-outofscope_response() ->
- json_error(401, 11, <<"Token does not grant usage to command required scope.">>).
+%% outofscope_response() ->
+%% json_error(401, 11, <<"Token does not grant usage to command required scope.">>).
badrequest_response() ->
badrequest_response(<<"400 Bad Request">>).