Skip to content

Commit

Permalink
fix: add missing admin routes
Browse files Browse the repository at this point in the history
  • Loading branch information
FreekBes committed Oct 29, 2024
1 parent 0c50062 commit d39c6e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ import { setupWebhookTriggerRoutes } from './hooks/triggers';
import { setupAdminUserRoutes } from './admin/users';
import { setupAdminCoalitionRoutes } from './admin/coalitions';
import { setupAdminChartsRoutes } from './admin/charts';
import { setupWebhookManagementRoutes } from './admin/hooksmgmt';

export const setupAdminRoutes = function(app: Express, prisma: PrismaClient): void {
setupAdminDashboardRoutes(app, prisma);
setupAdminQuizRoutes(app, prisma);
setupAdminPointsRoutes(app, prisma);
setupAPISearchRoutes(app, prisma);
setupWebhookTriggerRoutes(app, prisma);
setupWebhookManagementRoutes(app, prisma);
setupAdminUserRoutes(app, prisma);
setupAdminCoalitionRoutes(app, prisma);
setupAdminChartsRoutes(app, prisma);
Expand Down

0 comments on commit d39c6e1

Please sign in to comment.