diff options
| author | Shyam Sunder <sgsunder1@gmail.com> | 2020-06-04 14:09:35 -0400 |
|---|---|---|
| committer | Shyam Sunder <sgsunder1@gmail.com> | 2020-06-04 19:02:33 -0400 |
| commit | 4329b1620fe38c2a7bf44615cfb176daa2837590 (patch) | |
| tree | 555a8ee3b4597628dfc37827d5f5880283c30eb7 /client/js/controllers/user_list_controller.js | |
| parent | 48c9001194afe0f0241fecf313705e54e03b5c23 (diff) | |
client/js: format code to ESLint
Diffstat (limited to 'client/js/controllers/user_list_controller.js')
| -rw-r--r-- | client/js/controllers/user_list_controller.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/js/controllers/user_list_controller.js b/client/js/controllers/user_list_controller.js index fa878d8..13dcf43 100644 --- a/client/js/controllers/user_list_controller.js +++ b/client/js/controllers/user_list_controller.js @@ -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); + }); }; |