a
This commit is contained in:
parent
b61fd6cffb
commit
77257ec9c4
@ -56,6 +56,15 @@ routes.get('/comments/speakers',
|
||||
* ADMINISTRACIÓN
|
||||
*********************************************************************************************************
|
||||
*/
|
||||
routes.get('/admin/comments',
|
||||
isAdministratorUser,
|
||||
// PaginateMiddleware.middleware(),
|
||||
SortMiddleware.middleware({ default: "createdAt" }),
|
||||
commentController.find({
|
||||
scopes: ['defaultScope'],
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
routes.get('/admin/comments/events/:entityId',
|
||||
isAdministratorUser,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user