From 255c5e140cf28b5b478f383d779ee3395740d76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Wed, 3 Nov 2021 12:10:45 +0000 Subject: [PATCH] fix: remove dev leftovers --- lib/forex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/forex.js b/lib/forex.js index aa5ce06e..0cdcd300 100644 --- a/lib/forex.js +++ b/lib/forex.js @@ -48,7 +48,7 @@ const getRate = (retries = 1, fiatCode) => { if (!activeAPI) throw new Error(`FOREX api ${selected} does not exist.`) - return activeAPI(fiatCode, fiatCodeProperty, rateProperty).then(res => res) + return activeAPI(fiatCode, fiatCodeProperty, rateProperty) .catch(() => { // Switch service const erroredService = API_QUEUE.shift()