Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» Add debug helper
Browse files Browse the repository at this point in the history
Merge pull request #2817 from linagora/cherrypick-71a7885f429d95c70f788d1b76747e760cf32c33
  • Loading branch information
rezk2ll committed Mar 7, 2024
2 parents f827ae4 + e9f6f95 commit 60510c1
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 60510c1

Please sign in to comment.