Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: make estimatedExchangeRate nullable (for now) #2039

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

mkurapov
Copy link
Contributor

@mkurapov mkurapov commented Oct 16, 2023

Changes proposed in this pull request

Context

Related to #1967

Checklist

  • Related issues linked using fixes #number
  • Tests added/updated
  • Documentation added
  • Make sure that all checks pass
  • Postman collection updated

@netlify
Copy link

netlify bot commented Oct 16, 2023

Deploy Preview for brilliant-pasca-3e80ec canceled.

Name Link
🔨 Latest commit 4a90da0
🔍 Latest deploy log https://app.netlify.com/sites/brilliant-pasca-3e80ec/deploys/652d6511697ea40008e9cb17

@github-actions github-actions bot added pkg: backend Changes in the backend package. type: source Changes business logic labels Oct 16, 2023
Number(fees) * quote.estimatedExchangeRate.valueOf()
)
const estimatedExchangeRate =
quote.estimatedExchangeRate || quote.lowEstimatedExchangeRate.valueOf()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fallback to lowEstimatedExchangeRate (until #2000)

@mkurapov mkurapov marked this pull request as ready for review October 17, 2023 10:16
@mkurapov mkurapov merged commit 8405951 into main Oct 17, 2023
@mkurapov mkurapov deleted the mk/1967/fix-quote-migration branch October 17, 2023 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: backend Changes in the backend package. type: source Changes business logic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants