Slack messaging #169

Merged
bones7242 merged 11 commits from slack-messaging into master 2017-09-21 21:11:32 +02:00
3 changed files with 8 additions and 8 deletions
Showing only changes of commit 6c4e893d68 - Show all commits

View file

@ -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"
} }
} }

View file

@ -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"

View file

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