diff --git a/src/routes/admin.ts b/src/routes/admin.ts index 48ae8a11..bb74374e 100644 --- a/src/routes/admin.ts +++ b/src/routes/admin.ts @@ -44,4 +44,13 @@ adminRouter.post( adminOrganisationController.setUserRole.bind(adminOrganisationController), ); +// Logs +adminRouter.get( + "/logs", + Limiter, + authMiddleware, + checkPermissions([UserRole.SUPER_ADMIN]), + adminLogController.getLogs.bind(adminLogController), +); + export { adminRouter };