fixed typo in db config vars
This commit is contained in:
parent
8d0d0b0471
commit
6c4e893d68
3 changed files with 8 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
|||
"LbryClaimAddress": "LBRY_CLAIM_ADDRESS"
|
||||
},
|
||||
"Database": {
|
||||
"username": "MYSQL_USERNAME",
|
||||
"password": "MYSQL_PASSWORD"
|
||||
"Username": "MYSQL_USERNAME",
|
||||
"Password": "MYSQL_PASSWORD"
|
||||
}
|
||||
}
|
|
@ -6,9 +6,9 @@
|
|||
"GoogleId": "none"
|
||||
},
|
||||
"Database": {
|
||||
"database": "lbry",
|
||||
"username": "none",
|
||||
"password": "none"
|
||||
"Database": "lbry",
|
||||
"Username": "none",
|
||||
"Password": "none"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": "none"
|
||||
|
|
|
@ -6,9 +6,9 @@ const config = require('config');
|
|||
const db = {};
|
||||
const logger = require('winston');
|
||||
|
||||
const database = config.get('Database.database');
|
||||
const username = config.get('Database.username');
|
||||
const password = config.get('Database.password');
|
||||
const database = config.get('Database.Database');
|
||||
const username = config.get('Database.Username');
|
||||
const password = config.get('Database.Password');
|
||||
const sequelize = new Sequelize(database, username, password, {
|
||||
host : 'localhost',
|
||||
dialect: 'mysql',
|
||||
|
|
Loading…
Reference in a new issue