fix(api): duplicate reply on error in /daily-coding-challenge-completed (#60999)

This commit is contained in:
Oliver Eyton-Williams
2025-06-23 15:15:26 +02:00
committed by GitHub
parent d5a930803c
commit 722131407b
+1
View File
@@ -291,6 +291,7 @@ export const challengeRoutes: FastifyPluginCallbackTypebox = (
type: 'error',
message: 'That does not appear to be a valid challenge submission.'
});
} else {
fastify.errorHandler(error, req, reply);
}
}