File tree Expand file tree Collapse file tree
backend/src/api/public/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { Router } from 'express'
22
33import { AUTH0_CONFIG } from '../../../conf'
4-
54import { oauth2Middleware } from '../middlewares/oauth2Middleware'
65import { staticApiKeyMiddleware } from '../middlewares/staticApiKeyMiddleware'
6+
77import { devStatsRouter } from './dev-stats'
88import { membersRouter } from './members'
99import { organizationsRouter } from './organizations'
@@ -13,7 +13,7 @@ export function v1Router(): Router {
1313
1414 router . use ( '/members' , oauth2Middleware ( AUTH0_CONFIG ) , membersRouter ( ) )
1515 router . use ( '/organizations' , oauth2Middleware ( AUTH0_CONFIG ) , organizationsRouter ( ) )
16- router . use ( '/affiliations' , staticApiKeyMiddleware ( ) , devStatsRouter ( ) )
16+ router . use ( '/member-organization- affiliations' , staticApiKeyMiddleware ( ) , devStatsRouter ( ) )
1717
1818 return router
1919}
You can’t perform that action at this time.
0 commit comments