Skip to content

Commit

Permalink
馃悰 Debug: added debug endpoint for channels list
Browse files Browse the repository at this point in the history
  • Loading branch information
rezk2ll committed Mar 5, 2024
2 parents c68daf8 + ccce6cb commit a89eb4e
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 a89eb4e

Please sign in to comment.