feat: update wise rate computation
This commit is contained in:
@@ -308,10 +308,9 @@ export default async (req, res) => {
|
|||||||
.catch((error) => reject(error));
|
.catch((error) => reject(error));
|
||||||
}).then((result) => {
|
}).then((result) => {
|
||||||
console.log("result>>wise", result);
|
console.log("result>>wise", result);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
rate: (parseFloat(result[0].rate) * 0.972).toFixed(2),
|
rate: parseFloat(result[0].rate).toFixed(2),
|
||||||
provider: "Wise(after fees)",
|
provider: "Wise",
|
||||||
bestRate: false,
|
bestRate: false,
|
||||||
href: "https://wise.com/invite/dic/obinnae93",
|
href: "https://wise.com/invite/dic/obinnae93",
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user