Skip to content

Commit

Permalink
🐛 Debug: added debug url for channels list
Browse files Browse the repository at this point in the history
  • Loading branch information
rezk2ll committed Feb 29, 2024
1 parent c68daf8 commit ccce6cb
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
Original file line number Diff line number Diff line change
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 ccce6cb

Please sign in to comment.