Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanyvu committed Jan 16, 2025
1 parent 048b091 commit 0fa8543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/lambda/update/updatePackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const sendUpdateIdMessage = async ({
});
}
console.log("BEFORE");
console.log(updatedId, "UPDATED ID IN FUNC??");
// check if a package with this new ID already exists
const packageExists = await getPackage(updatedId);
console.log(packageExists, "WHAT IS THIS");
Expand Down
1 change: 1 addition & 0 deletions lib/libs/api/package/getPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getPackage = async (id: string): Promise<ItemResult | undefined> =>
const { domain, index } = getDomainAndNamespace("main");
console.log(domain, "DOMAIN");
console.log(index, "INDEX");
console.log(id, "WHATS THE ID");
const packageResult = await os.getItem(domain, index, id);
console.log(packageResult, "WHAT?");
return packageResult;
Expand Down

0 comments on commit 0fa8543

Please sign in to comment.