feat: update currency index
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user