diff options
| author | Adam Soltys <[email protected]> | 2020-03-09 15:03:04 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-03-09 15:03:04 -0700 |
| commit | 4e2d9a84e9561ce2a95b0f72e424b6bf38cdd74b (patch) | |
| tree | 4a23d66d3e7226d518ce2b2470da8271a3b812b8 /rates.js | |
| parent | 7ee9cb321782cb78c8f3cc0ddcaa6287575a6e92 (diff) | |
| download | coinos-server-4e2d9a84e9561ce2a95b0f72e424b6bf38cdd74b.tar.gz coinos-server-4e2d9a84e9561ce2a95b0f72e424b6bf38cdd74b.zip | |
venezuela api is down
Diffstat (limited to 'rates.js')
| -rw-r--r-- | rates.js | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -21,14 +21,6 @@ module.exports = (app, socket) => { Object.keys(fx).map(symbol => { rates[symbol] = fx[symbol] / fx["USD"]; }); - - res = await axios.get( - "https://api.bitcoinvenezuela.com/?html=no¤cy=VEF" - ); - - rates.VEF = res.data["exchange_rates"].VEF_USD; - rates.VES = res.data["exchange_rates"].VEF_USD / 100000; - rates.KVES = res.data["exchange_rates"].VEF_USD / 100000000; } catch (e) { l.error("error fetching rates", e); } |
