moved update password script

This commit is contained in:
bill bittner 2017-12-12 15:35:46 -08:00
parent b7a38dd099
commit 8d90499f03

View file

@ -1,10 +1,10 @@
// load dependencies // load dependencies
const logger = require('winston'); const logger = require('winston');
const db = require('./models'); // require our models for syncing const db = require('../models/index'); // require our models for syncing
// configure logging // configure logging
const config = require('./config/speechConfig.js'); const config = require('../config/speechConfig.js');
const logLevel = config.logging.logLevel; const logLevel = config.logging.logLevel;
require('./config/loggerConfig.js')(logger, logLevel); require('../config/loggerConfig.js')(logger, logLevel);
const userName = process.argv[2]; const userName = process.argv[2];
logger.debug('user name:', userName); logger.debug('user name:', userName);