]> granicus.if.org Git - ejabberd/commitdiff
Fix command argument formatting
authorPablo Polvorin <ppolvorin@process-one.net>
Tue, 19 Jul 2016 03:51:04 +0000 (00:51 -0300)
committerPablo Polvorin <ppolvorin@process-one.net>
Tue, 19 Jul 2016 03:51:04 +0000 (00:51 -0300)
src/ejabberd_oauth.erl

index 0397571b281aa0fd4044a74857f7fe8f8bc69b76..bf85d6ec286a6638b0b8734a7c5a4a0d8740498d 100644 (file)
@@ -117,7 +117,7 @@ get_commands_spec() ->
                         module = ?MODULE, function = oauth_revoke_token,
                         args = [{token, string}],
                         policy = restricted,
-                        result = {tokens, {list, {token, {tuple, [{token, string}, {scope, string}, {expires_in, string}]}}}},
+                        result = {tokens, {list, {token, {tuple, [{token, string}, {user, string}, {scope, string}, {expires_in, string}]}}}},
                         result_desc = "List of remaining tokens"
                        }
     ].