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"
|
"LbryClaimAddress": "LBRY_CLAIM_ADDRESS"
|
||||||
},
|
},
|
||||||
"Database": {
|
"Database": {
|
||||||
"username": "MYSQL_USERNAME",
|
"Username": "MYSQL_USERNAME",
|
||||||
"password": "MYSQL_PASSWORD"
|
"Password": "MYSQL_PASSWORD"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -6,9 +6,9 @@
|
||||||
"GoogleId": "none"
|
"GoogleId": "none"
|
||||||
},
|
},
|
||||||
"Database": {
|
"Database": {
|
||||||
"database": "lbry",
|
"Database": "lbry",
|
||||||
"username": "none",
|
"Username": "none",
|
||||||
"password": "none"
|
"Password": "none"
|
||||||
},
|
},
|
||||||
"Logging": {
|
"Logging": {
|
||||||
"LogLevel": "none"
|
"LogLevel": "none"
|
||||||
|
|
|
@ -6,9 +6,9 @@ const config = require('config');
|
||||||
const db = {};
|
const db = {};
|
||||||
const logger = require('winston');
|
const logger = require('winston');
|
||||||
|
|
||||||
const database = config.get('Database.database');
|
const database = config.get('Database.Database');
|
||||||
const username = config.get('Database.username');
|
const username = config.get('Database.Username');
|
||||||
const password = config.get('Database.password');
|
const password = config.get('Database.Password');
|
||||||
const sequelize = new Sequelize(database, username, password, {
|
const sequelize = new Sequelize(database, username, password, {
|
||||||
host : 'localhost',
|
host : 'localhost',
|
||||||
dialect: 'mysql',
|
dialect: 'mysql',
|
||||||
|
|
Loading…
Reference in a new issue