Commit b8498ad7 authored by Bradley Hilton's avatar Bradley Hilton

Actually use the queryParams for the limit..whooops

parent 1b13e1f7
......@@ -119,7 +119,7 @@ RocketChat.API.v1.addRoute('users.list', { authRequired: true }, {
let limit = -1;
if (typeof this.queryParams.limit !== 'undefined') {
limit = parseInt(limit);
limit = parseInt(this.queryParams.limit);
}
let result = undefined;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment