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

fix: calculate AED exchange rate based on pegged value with USD #45215

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

kavin-114
Copy link
Contributor

@kavin-114 kavin-114 commented Jan 10, 2025

Issue: Unable to get exchange rate for AED using frankfurter API

Solution:
As the frankfurter API doesn't provide exchange rate for AED. Considering that AED is pegged to USD at the exchange rate of
3.6725 AED , have hardcoded the value in exchange rate utils function.

Ref: 28900

Before:

AED.exchange.rate.issue.webm

After:

AED.exchange.rate.fixed.webm

Backport Needed: v15

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Jan 10, 2025
@Vigneshsekar
Copy link
Contributor

Pegged from 1997.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants