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