Closed kaleabmelkie closed 2 years ago
Github actions was failing on that day. That's why the data is not available. There is not much I could do to get the 2021-09-14 data back
Also don't forget to use fallback urls, otherwise you will face issues, for example if you want to fetch usd to eur rate:
const fetchWithFallback = async (links,obj) => {
let response;
for(let link of links)
{ try{
response = await fetch(link,obj)
if(response.ok)
return response
}catch(e){}
}
return response
}
fetchWithFallback(["https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/usd/eur.min.json","https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/usd/eur.json"]).then(res => res.json()).then(console.log)
No data from 20-08 until 08-11?
@RahulKini please see this
currency-api has stopped working, Please read the migration guide
2021-09-14 seems to be skipped. Is it possible to patch it now?