feat: update currency index

This commit is contained in:
Jesse Egbosionu
2023-12-29 17:35:50 +01:00
parent ac1f223283
commit 7821b86a01
+1 -1
View File
@@ -38,7 +38,7 @@ export default async (req, res) => {
const send_call = fetch("https://api.taptapsend.com/api/fxRates", requestOptions) const send_call = fetch("https://api.taptapsend.com/api/fxRates", requestOptions)
.then((response) => response.json()) .then((response) => response.json())
.then((result) => rates.send = result.availableCountries[1].corridors[27]["fxRate"]) .then((result) => rates.send = result.availableCountries[1].corridors[29]["fxRate"])
.catch((error) => console.log("error", error)); .catch((error) => console.log("error", error));
var myHeaders = new Headers(); var myHeaders = new Headers();