Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanyvu committed Jan 16, 2025
1 parent 000b553 commit 4508cac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/lambda/update/updatePackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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?");
Expand Down

0 comments on commit 4508cac

Please sign in to comment.