fix format and use database.client
This commit is contained in:
parent
0b806cec92
commit
4846b22cd1
|
@ -30,7 +30,7 @@ class Database {
|
|||
constructor(knexConfig = null) {
|
||||
if (knexConfig === null) {
|
||||
knexConfig = {
|
||||
client: 'database',
|
||||
client: Config.get('database.client'),
|
||||
connection: {
|
||||
host: Config.get('database.server'),
|
||||
port: Config.get('database.port'),
|
||||
|
|
Loading…
Reference in a new issue