diff --git a/src/modules/creator/creator.routes.ts b/src/modules/creator/creator.routes.ts index bed6ecc..5a122e0 100644 --- a/src/modules/creator/creator.routes.ts +++ b/src/modules/creator/creator.routes.ts @@ -12,11 +12,14 @@ import { CREATOR_PUBLIC_ROUTE_CACHE_PRESETS } from '../../constants/creator-publ const router = Router(); /** - * Creator module route map (initial scaffold): + * Creator module route map: * * - GET /api/v1/creators * - GET /api/v1/creators/:creatorId/profile * - PUT /api/v1/creators/:creatorId/profile + * + * Note: The legacy creators list route is no longer mounted from `src/modules/index.ts` because + * `src/modules/creators/creators.routes.ts` is the active public endpoint. */ /** diff --git a/src/modules/index.ts b/src/modules/index.ts index 1662c27..ac9f1b7 100644 --- a/src/modules/index.ts +++ b/src/modules/index.ts @@ -2,7 +2,7 @@ import { Router } from 'express'; import authRouter from './auth/auth.routes'; import healthRouter from './health/health.routes'; import configRouter from './config/config.routes'; -import creatorRouter from './creator/creator.routes'; +import creatorsRouter from './creators/creators.routes'; import { BASE as CREATORS_BASE } from '../constants/creator.constants'; const router = Router(); @@ -10,6 +10,6 @@ const router = Router(); router.use('/health', healthRouter); router.use('/auth', authRouter); router.use('/config', configRouter); -router.use(CREATORS_BASE, creatorRouter); +router.use(CREATORS_BASE, creatorsRouter); export default router;