client/js: format code to ESLint

This commit is contained in:
Shyam Sunder
2020-06-04 14:09:35 -04:00
parent 48c9001194
commit 4329b1620f
67 changed files with 1150 additions and 533 deletions

View File

@ -51,7 +51,7 @@ class UserListController {
defaultLimit: 30,
getClientUrlForPage: (offset, limit) => {
const parameters = Object.assign(
{}, this._ctx.parameters, {offset, offset, limit: limit});
{}, this._ctx.parameters, {offset: offset, limit: limit});
return uri.formatClientLink('users', parameters);
},
requestPage: (offset, limit) => {
@ -71,5 +71,7 @@ class UserListController {
module.exports = router => {
router.enter(
['users'],
(ctx, next) => { ctx.controller = new UserListController(ctx); });
(ctx, next) => {
ctx.controller = new UserListController(ctx);
});
};