From bedcc818eb13c7b214cb0bb4be951ebe36e970ac Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Sun, 16 Aug 2020 11:30:27 +0200 Subject: [PATCH] refactor: remove useless print --- src/controllers/AdminOrganizationController.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/controllers/AdminOrganizationController.ts b/src/controllers/AdminOrganizationController.ts index f4f972e..8ea50e5 100644 --- a/src/controllers/AdminOrganizationController.ts +++ b/src/controllers/AdminOrganizationController.ts @@ -16,7 +16,6 @@ export default class AdminOrganizationController { let page: any = req.query.page == null ? '1' : req.query.page page = parseInt(page) let paginationOptions: any = {} - console.log(page, limit) if (limit !== -1) { paginationOptions = { page, limit @@ -28,7 +27,6 @@ export default class AdminOrganizationController { let sortWay: any = req.query.sortDesc == null ? 1 : (req.query.sortDesc == 'true' ? -1 : 1) let sort: any = {} sort[sortBy] = sortWay - console.log(sort, paginationOptions) Organization.paginate({}, { sort, ...paginationOptions