diff --git a/docs/PLATFORM_ROADMAP.md b/docs/PLATFORM_ROADMAP.md index db1527ff..614316b4 100644 --- a/docs/PLATFORM_ROADMAP.md +++ b/docs/PLATFORM_ROADMAP.md @@ -267,7 +267,7 @@ Example from the admin API (a real production route): # From admin/config.yaml -- the engine serves its own API using pipelines - method: GET path: "/api/v1/admin/companies/{id}" - handler: admin-v1-queries + handler: admin-queries middlewares: [admin-cors, admin-auth-middleware] pipeline: steps: diff --git a/module/api_v1_handler.go b/module/api_v1_handler.go index 2acfb9cf..22523ab7 100644 --- a/module/api_v1_handler.go +++ b/module/api_v1_handler.go @@ -14,8 +14,8 @@ import ( ) // V1APIHandler handles the /api/v1/admin/ CRUD endpoints for companies, projects, -// and workflows. It is wired as a fallback on the admin-v1-queries and -// admin-v1-commands CQRS handler modules. +// and workflows. It is wired as a fallback on the admin-queries and +// admin-commands CQRS handler modules. type V1APIHandler struct { store *V1Store jwtSecret string