mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(api): update logging in route -- status
This commit is contained in:
@@ -14,7 +14,7 @@ export const statusRoute: FastifyPluginCallbackTypebox = (
|
||||
done
|
||||
) => {
|
||||
fastify.get('/status/ping', async (req, _reply) => {
|
||||
fastify.log.child({ req }).debug('returning a ping');
|
||||
fastify.log.child({ req }).debug('pong');
|
||||
return { msg: 'pong' };
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user