(fastify)
| 2 | import type { FastifyPluginCallback } from 'fastify'; |
| 3 | |
| 4 | const router: FastifyPluginCallback = async (fastify) => { |
| 5 | fastify.route({ |
| 6 | method: 'GET', |
| 7 | url: '/github/callback', |
| 8 | handler: controller.githubCallback, |
| 9 | }); |
| 10 | fastify.route({ |
| 11 | method: 'GET', |
| 12 | url: '/google/callback', |
| 13 | handler: controller.googleCallback, |
| 14 | }); |
| 15 | }; |
| 16 | |
| 17 | export default router; |
nothing calls this directly
no outgoing calls
no test coverage detected