refactor: remove useless print
This commit is contained in:
parent
3670a53f51
commit
bedcc818eb
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue