From e9f6f95770b82113a0b7d92548ac5b71bc4ca608 Mon Sep 17 00:00:00 2001 From: Khaled FERJANI Date: Thu, 7 Mar 2024 09:51:42 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20Add=20debug?= =?UTF-8?q?=20helper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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`,