Skip to content

Commit

Permalink
Merge pull request #4760 from bcgov/feat/4502
Browse files Browse the repository at this point in the history
chore(4502): log email body
  • Loading branch information
junminahn authored Jan 25, 2025
2 parents f1542b2 + 92c49c4 commit bb79da1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions app/scripts/render-react-email-tailwind-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ async function iterateDirectories(directoryPath: string) {
await iterateDirectories(fullPath);
} else {
console.log('File:', fullPath);
await replaceClassMatches(fullPath, (className) => {
return twj(className);
});
await replaceClassMatches(fullPath, (className) => twj(className));
}
}
} catch (err) {
Expand Down
2 changes: 1 addition & 1 deletion app/services/ches/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function sendEmail(email: Email) {
},
);

logger.info({ type: 'email body', body });
logger.info(`email body: ${JSON.stringify(body)}`);

const response = await fetchWithTimeout(`${apiUrl}/email`, {
method: 'POST',
Expand Down

0 comments on commit bb79da1

Please sign in to comment.