Skip to content

Commit

Permalink
NaN value fixed for santander response (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: Edu Depetris <[email protected]>
  • Loading branch information
jlgasparrini and edudepetris authored Dec 20, 2020
1 parent 1fb9c38 commit f599910
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/fetchers/santander.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class Santander {

return {
name: 'Santander',
url: 'https://bit.ly/2HpmlGE',
buy: parseFloat(buy),
sell: parseFloat(sell)
buy: parseFloat(buy) || 0,
sell: parseFloat(sell) || 0,
url: 'https://bit.ly/2HpmlGE'
}
})
.catch(err => {
Expand Down

0 comments on commit f599910

Please sign in to comment.