Skip to content

Commit

Permalink
Debugging core-mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
subru-37 committed Oct 18, 2024
1 parent 85573c8 commit 695d4ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/core-mailer/src/models/Mail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export class Mail {
}

export function parseMail(str: string): Mail {
console.log(str)
const parsed = JSON.parse(str.replace(/(\w+):/g, '"$1":'));
return new Mail(
parsed.from,
Expand Down

0 comments on commit 695d4ad

Please sign in to comment.