From 26ccedfbd0aafb615b979d3fd1e515d5ae585ac2 Mon Sep 17 00:00:00 2001 From: Alessio Dore <57567806+AleDore@users.noreply.github.com> Date: Fri, 20 Nov 2020 14:13:03 +0100 Subject: [PATCH] [#175679733] Rename GetSupport Token endpoint (#727) --- api_backend.yaml | 2 +- src/app.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) );