From 91e6fb4dc4b94cb9dc89697938f27c12b6f4f617 Mon Sep 17 00:00:00 2001 From: Ronaldo Macapobre Date: Thu, 6 Feb 2025 03:32:33 +0000 Subject: [PATCH] Log the whole event and qp --- aws/services/apiService.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aws/services/apiService.ts b/aws/services/apiService.ts index 17b29e99..86511a7c 100644 --- a/aws/services/apiService.ts +++ b/aws/services/apiService.ts @@ -29,6 +29,8 @@ export class ApiService { try { await this.initialize(); + console.log(event); + const method = event.httpMethod.toUpperCase(); const queryParams = event.queryStringParameters || {}; const body = event.body ? JSON.parse(event.body) : {}; @@ -36,6 +38,7 @@ export class ApiService { let data; console.log(`Sending ${method} request to ${event.path}`); + console.log(`Query Params: ${queryParams}`); switch (method) { case "GET":