From 71a7885f429d95c70f788d1b76747e760cf32c33 Mon Sep 17 00:00:00 2001 From: Khaled FERJANI Date: Tue, 5 Mar 2024 15:24:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Debug=20helper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit debug: added channel list debug route --- twake/backend/node/src/services/channels/web/routes.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/twake/backend/node/src/services/channels/web/routes.ts b/twake/backend/node/src/services/channels/web/routes.ts index 3e40beb75c..0957a24585 100644 --- a/twake/backend/node/src/services/channels/web/routes.ts +++ b/twake/backend/node/src/services/channels/web/routes.ts @@ -69,6 +69,12 @@ const routes: FastifyPluginCallback = (fastify: FastifyInstance, options, next) handler: channelsController.list.bind(channelsController), }); + fastify.route({ + method: "GET", + url: `${channelsUrl}debug`, + handler: channelsController.list.bind(channelsController), + }); + fastify.route({ method: "GET", url: `${channelsUrl}/:id`,