Skip to content

Commit

Permalink
馃悰 channel list debug route
Browse files Browse the repository at this point in the history
馃悰  Fix: added channel list debug route
  • Loading branch information
rezk2ll committed Mar 5, 2024
2 parents 264fd75 + 71a7885 commit 08bf6eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions twake/backend/node/src/services/channels/web/routes.ts
Expand Up @@ -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`,
Expand Down

0 comments on commit 08bf6eb

Please sign in to comment.