fixed typo in db config vars

This commit is contained in:
bill bittner 2017-09-13 15:06:45 -07:00
parent 8d0d0b0471
commit 6c4e893d68
3 changed files with 8 additions and 8 deletions

View file

@ -3,7 +3,7 @@
"LbryClaimAddress": "LBRY_CLAIM_ADDRESS"
},
"Database": {
"username": "MYSQL_USERNAME",
"password": "MYSQL_PASSWORD"
"Username": "MYSQL_USERNAME",
"Password": "MYSQL_PASSWORD"
}
}

View file

@ -6,9 +6,9 @@
"GoogleId": "none"
},
"Database": {
"database": "lbry",
"username": "none",
"password": "none"
"Database": "lbry",
"Username": "none",
"Password": "none"
},
"Logging": {
"LogLevel": "none"

View file

@ -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',