Skip to content

Commit 80dcf4c

Browse files
authored
Merge pull request #6203 from mozilla/MNTOR-5074
refactor(email_notifications): fix logging for addEmailNotification
2 parents 1628f2c + 1c93f95 commit 80dcf4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/db/tables/email_notifications.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ type NewNotification = {
3434
};
3535

3636
async function addEmailNotification(newNotification: NewNotification) {
37-
console.info(`addEmailNotification: ${JSON.stringify(newNotification)}`);
37+
console.info(
38+
`addEmailNotification: ${newNotification.subscriberId}, ${newNotification.breachId}, ${newNotification.notificationType}`,
39+
);
3840
const emailNotificationDb = {
3941
subscriber_id: newNotification.subscriberId,
4042
breach_id: newNotification.breachId,

0 commit comments

Comments
 (0)