aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-05-29 17:33:10 -0700
committerAdam Soltys <[email protected]>2020-05-29 17:33:10 -0700
commit2b59255e7350c6e359263808b2af263ef374285a (patch)
tree7191e93df0301cf82356050f7d5c62eb5d2d2726 /lib
parent67aa0ec59889f5b0b2d90a96384cfcb7e58d7a07 (diff)
downloadcoinos-server-2b59255e7350c6e359263808b2af263ef374285a.tar.gz
coinos-server-2b59255e7350c6e359263808b2af263ef374285a.zip
private key sweep
Diffstat (limited to 'lib')
-rw-r--r--lib/rates.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rates.js b/lib/rates.js
index b6c38a50..a8818375 100644
--- a/lib/rates.js
+++ b/lib/rates.js
@@ -6,7 +6,7 @@ let fetchRates;
(fetchRates = async () => {
let rates = require("./devrates");
- if (process.env.NODE_ENV === "production") {
+ if (prod) {
try {
let res = await axios.get(
`http://data.fixer.io/api/latest?access_key=${config.fixer}`