Currency converter lists the wrong currency if the first input currency is incorrect
Opened this issue · 0 comments
Biendeo commented
Recreate by inputting ?currency 1 as btc
. You should get Failed to match the currency codes: btc
as an output.
A proposed solution would be to ask the API for all the currency codes and just cache them on startup. That way you can check the validity of the currencies right away, as well as be able to help users if they mispell them or anything.