Skip to content

Update app.js#45

Open
vsshetty90 wants to merge 1 commit into
shradha-khapra:mainfrom
vsshetty90:patch-1
Open

Update app.js#45
vsshetty90 wants to merge 1 commit into
shradha-khapra:mainfrom
vsshetty90:patch-1

Conversation

@vsshetty90

Copy link
Copy Markdown

The API URI is changed, so the old method to fetch rate from the api is not working, this is a solution for the problem, all country rates converting with the updated base URI and the rate value set to let rate = fromData[fromCurr.value.toLowerCase()][toCurr.value.toLowerCase()]

The API URI is changed, so the old method to fetch rate from the api is not working, this is a solution for the problem, all country rates converting with the updated base URI and the rate value set to let rate = fromData[fromCurr.value.toLowerCase()][toCurr.value.toLowerCase()]
@Nandni05

Nandni05 commented May 1, 2025

Copy link
Copy Markdown

The API isn't working anymore. Use the Frankfurter API-- https://api.frankfurter.dev/v1/latest
https://api.frankfurter.dev/v1/latest?base=USD

@UjjwalVaidya UjjwalVaidya left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great work on this change! This is a solid improvement over the previous implementation.

@Saurabh6740

Copy link
Copy Markdown

error on app.js file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants