Skip to content

Commit

Permalink
Update notify-by-mail.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiago Fernandes committed Feb 14, 2021
1 parent 3eea2d7 commit 230c696
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/handlers/notify-by-mail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ const createEmail = (exchangeRatesPayload): Email => {
subject: `Exchange rates - ${date}`,
html: `<h1>Exchange rates</h1> \
<h4>${time}</h4>\
<h5>GBP</h5>\
<div>1000 GBP = ${gbpEur.toFixed(2)} EUR </div>\
<div>1000 EUR = ${eurGbp.toFixed(2)} GBP </div>\
<h5>USD</h5>\
<div>1000 USD = ${eurUsd.toFixed(2)} EUR </div>\
<div>1000 EUR = ${UsdEur.toFixed(2)} USD </div>\
<hr>
<h5>GBP</h5>\
<div>1000 GBP = ${gbpEur.toFixed(2)} EUR </div>\
<div>1000 EUR = ${eurGbp.toFixed(2)} GBP </div>\
`
}

Expand Down

0 comments on commit 230c696

Please sign in to comment.