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