Skip to content

Commit

Permalink
add log to check for broken field
Browse files Browse the repository at this point in the history
  • Loading branch information
elvisduru committed Mar 20, 2024
1 parent 77b51b4 commit f165ff0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mail/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ export const sendContactMail = async (form: Record<string, any>) => {
}
`;

console.debug("FINDING RECORD", findRecordQuery, tableSlug);

const res = await request(`${BAMBOO_SERVER_HOST}/${BAMBOO_SERVER_APP_ID}`, findRecordQuery);
const isExistingRecord = res[tableSlug].records.result[0]?.id;

Expand Down

0 comments on commit f165ff0

Please sign in to comment.