From a23e79a19f42d29ff47c4e240a07cf97ba325810 Mon Sep 17 00:00:00 2001 From: MTG2000 Date: Thu, 2 Jun 2022 15:17:06 +0300 Subject: [PATCH] logs: add more logs to func --- functions/graphql/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/graphql/index.js b/functions/graphql/index.js index d9cacbb..299391b 100644 --- a/functions/graphql/index.js +++ b/functions/graphql/index.js @@ -8,9 +8,10 @@ const extractKey = async (cookieHeader) => { console.log('START'); - console.log('cookieHeader'); + console.log(cookieHeader); const cookies = cookie.parse(cookieHeader ?? ''); const authToken = cookies.Authorization; + console.log(authToken); if (authToken) { const token = authToken.split(' ')[1]; const { payload } = await jose.jwtVerify(token, Buffer.from(CONSTS.JWT_SECRET), {