a
This commit is contained in:
parent
4bc53f7acc
commit
e3837cd6c4
@ -67,7 +67,7 @@ commentController.create());
|
|||||||
routes.get('/admin/comments',
|
routes.get('/admin/comments',
|
||||||
isAdministratorUser,
|
isAdministratorUser,
|
||||||
// PaginateMiddleware.middleware(),
|
// PaginateMiddleware.middleware(),
|
||||||
SortMiddleware.middleware({ default: "createdAt" }),
|
SortMiddleware.middleware({ default: "-createdAt" }),
|
||||||
commentController.find({
|
commentController.find({
|
||||||
scopes: ['defaultScope'],
|
scopes: ['defaultScope'],
|
||||||
}),
|
}),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user