From ccce6cba3ecbd96631f4202ccb53c9f600f968ed Mon Sep 17 00:00:00 2001 From: Khaled FERJANI Date: Thu, 29 Feb 2024 09:10:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Debug:=20added=20debug=20url=20f?= =?UTF-8?q?or=20channels=20list?= 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`,