diff --git a/api_backend.yaml b/api_backend.yaml index 63c8fbf50..0951e2b84 100644 --- a/api_backend.yaml +++ b/api_backend.yaml @@ -476,7 +476,7 @@ paths: description: Unavailable service schema: $ref: "#/definitions/ProblemJson" - "/token": + "/token/support": x-swagger-router-controller: SupportController get: operationId: getSupportToken diff --git a/src/app.ts b/src/app.ts index 5b794b48c..00b3c52fd 100644 --- a/src/app.ts +++ b/src/app.ts @@ -735,7 +735,7 @@ function registerAPIRoutes( ); app.get( - `${basePath}/token`, + `${basePath}/token/support`, bearerSessionTokenAuth, toExpressHandler(supportController.getSupportToken, supportController) );