Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Fix case sensitivity in createUser
Browse files Browse the repository at this point in the history
  • Loading branch information
ProbablePrime committed Feb 29, 2016
1 parent 0045edd commit cccdfb6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion lib/Live.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ Live.prototype.registerEvent = function (type, eventName, id, channel) {
self.wsabi.live(slugString).then(function (res) {
res.onValue(channel.onUpdate.bind(channel, slugString));
}, function (err) {
console.log(err);
self.nodecg.log.error(err);
});
};
Expand Down
2 changes: 0 additions & 2 deletions lib/Store.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ var Store = function (name) {
} else {
dbName = '';
}
console.log(dbName);
this.db = new Datastore({filename: './db/nodecg-beam/' + dbName, autoload: true});
this.db.persistence.setAutocompactionInterval(1000 * 60);
};
Expand Down Expand Up @@ -47,7 +46,6 @@ Store.prototype = {
var searchObj = {};
searchObj[event + '.dismissed'] = false;
searchObj[event + '.active'] = true;
console.log('searchObj');
self.db.find(searchObj, function (err, docs) {
if (err) {
reject(err);
Expand Down
2 changes: 1 addition & 1 deletion lib/createUser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var eventType = require('./EventType');
var eventType = require('./eventType');
var createUser = function (username) {
return {
username: username,
Expand Down

0 comments on commit cccdfb6

Please sign in to comment.