diff --git a/src/plugins/zTokenParser.ts b/src/plugins/zTokenParser.ts index 2e34b87..7ef8a57 100644 --- a/src/plugins/zTokenParser.ts +++ b/src/plugins/zTokenParser.ts @@ -44,7 +44,6 @@ const getTokenFromBody = function (request) { const zTokenParserPlugin: FastifyPluginAsync = async function (fastify: FastifyInstance, options?: any) { fastify.addHook('preValidation', async (request: FastifyRequest, reply: FastifyReply) => { - console.log('token parser preValidation') request['token'] = getTokenFromHeader(request) || getTokenFromCookie(request) ||