aboutsummaryrefslogtreecommitdiffstats
path: root/db.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2018-03-20 14:58:45 -0700
committerAdam Soltys <[email protected]>2018-03-20 14:58:45 -0700
commitc68fc448147858dcb93d4be2197b35244f42ae91 (patch)
treebd9057c146f21e4c2ffc0dce1b99e27e7eb69a72 /db.js
parent27cba8e4b054b6dde5b399e201d52b77b11a9a8a (diff)
downloadcoinos-server-c68fc448147858dcb93d4be2197b35244f42ae91.tar.gz
coinos-server-c68fc448147858dcb93d4be2197b35244f42ae91.zip
get data from quadriga, fix meta reference
Diffstat (limited to 'db.js')
-rw-r--r--db.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.js b/db.js
index 9b3cf11a..2ab18e54 100644
--- a/db.js
+++ b/db.js
@@ -14,7 +14,7 @@ import {
} from 'graphql'
const Op = Sequelize.Op
-const conf = config.db[process.env.NODE_ENV]
+const conf = config.db[process.env.NODE_ENV || 'development']
const auto = new SequelizeAuto(
conf.database,