From 4508cacfe253bc8a9a310e1ee08e25b322d102db Mon Sep 17 00:00:00 2001 From: tiffanyvu Date: Thu, 16 Jan 2025 11:38:44 -0800 Subject: [PATCH] log --- lib/lambda/update/updatePackage.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/lambda/update/updatePackage.ts b/lib/lambda/update/updatePackage.ts index ab4a8db5d..c5af7fc16 100644 --- a/lib/lambda/update/updatePackage.ts +++ b/lib/lambda/update/updatePackage.ts @@ -102,7 +102,7 @@ const sendUpdateIdMessage = async ({ origin: _origin, ...remainingFields } = currentPackage._source; - + console.log(currentPackage, "CURRENT PACKAGE??"); if (updatedId === currentPackage._id) { return response({ statusCode: 400, @@ -118,6 +118,7 @@ const sendUpdateIdMessage = async ({ body: { message: "This ID already exists" }, }); } + console.log("AFTER HERE"); // use event of current package to determine how ID should be formatted const packageEvent = await getPackageType(currentPackage._id); console.log(packageEvent, "PACKAGE EVENT?");