ESlint key-spacing, no-trailing-spaces

This commit is contained in:
Peter Jaszkowiak
2017-02-18 01:27:46 -07:00
parent 34e233fe1d
commit 277a7fb8b4
64 changed files with 142 additions and 143 deletions

View File

@@ -76,7 +76,7 @@ module.exports = function (db, module) {
module.rename = function (oldKey, newKey, callback) {
callback = callback || helpers.noop;
db.collection('objects').update({_key: oldKey}, {$set:{_key: newKey}}, {multi: true}, function (err, res) {
db.collection('objects').update({_key: oldKey}, {$set: {_key: newKey}}, {multi: true}, function (err, res) {
callback(err);
});
};