Cambio en el orden de congresos
This commit is contained in:
parent
ee88ad80ea
commit
53a745ff82
@ -55,7 +55,7 @@ routes.get('/events/next',
|
|||||||
invalidFields: generalInvalidFields
|
invalidFields: generalInvalidFields
|
||||||
}),
|
}),
|
||||||
PaginateMiddleware.middleware(),
|
PaginateMiddleware.middleware(),
|
||||||
SortMiddleware.middleware({ default: "init_date" }),
|
SortMiddleware.middleware({ default: "name" }),
|
||||||
(req, res, next) => {
|
(req, res, next) => {
|
||||||
// console.log(moment().add(1, 'days').startOf('day').format('YYYY-MM-DD HH:mm:ss'));
|
// console.log(moment().add(1, 'days').startOf('day').format('YYYY-MM-DD HH:mm:ss'));
|
||||||
return eventController.find({
|
return eventController.find({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user