From 937a2196c2e580225c8b57a187504a629548dc18 Mon Sep 17 00:00:00 2001 From: Michael Mainguy Date: Tue, 15 Aug 2023 09:38:46 -0500 Subject: [PATCH] Added logging to debug. --- netlify/functions/nerdgraph/nerdgraph.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/netlify/functions/nerdgraph/nerdgraph.ts b/netlify/functions/nerdgraph/nerdgraph.ts index 04de7fa..b3e5883 100644 --- a/netlify/functions/nerdgraph/nerdgraph.ts +++ b/netlify/functions/nerdgraph/nerdgraph.ts @@ -3,6 +3,7 @@ import axios from 'axios'; export const handler: Handler = async (event: HandlerEvent, context: HandlerContext) => { try { + console.log(JSON.stringify(event.headers)); const apiKey = event.headers['Api-Key']; console.log(apiKey.substring(-5)); const query = event.body;