]> granicus.if.org Git - ejabberd/commitdiff
Formating fix
authorPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 3 Apr 2019 09:48:59 +0000 (11:48 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 3 Apr 2019 09:48:59 +0000 (11:48 +0200)
src/mod_http_api.erl

index 5bda709c25b120a95a08c1d4f9a4f2e0ec6ee5e9..ef492ed4f928d6418e1821fe1d13ac89517f12e1 100644 (file)
@@ -293,7 +293,7 @@ handle(Call, Auth, Args, Version) when is_atom(Call), is_list(Args) ->
                    {401, iolist_to_binary(Msg)};
                   throw:{error, account_unprivileged} ->
                      {403, 31, <<"Command need to be run with admin privilege.">>};
-               throw:{error, access_rules_unauthorized} ->
+                 throw:{error, access_rules_unauthorized} ->
                    {403, 32, <<"AccessRules: Account does not have the right to perform the operation.">>};
                  throw:{invalid_parameter, Msg} ->
                    {400, iolist_to_binary(Msg)};