Files
freeCodeCamp/api/routes/auth0.ts
T
2023-02-24 17:23:15 +05:30

9 lines
258 B
TypeScript

import { FastifyInstance } from 'fastify';
// eslint-disable-next-line @typescript-eslint/require-await
export async function auth0Routes(fastify: FastifyInstance) {
fastify.get('/oauth/token', async (_request, _reply) => {
return { a: 'b' };
});
}