remove all changes from eslint --fix

This commit is contained in:
Matteo Pagliazzi
2016-03-08 17:45:14 +01:00
parent eeebe4c342
commit 5a2daabada
37 changed files with 224 additions and 223 deletions

View File

@@ -1,9 +1,9 @@
import _ from 'lodash';
module.exports = function (user, req, cb) {
module.exports = function(user, req, cb) {
_.merge(user.preferences.webhooks[req.params.id], req.body);
if (typeof user.markModified === 'function') {
if (typeof user.markModified === "function") {
user.markModified('preferences.webhooks');
}
return typeof cb === 'function' ? cb(null, user.preferences.webhooks) : void 0;
return typeof cb === "function" ? cb(null, user.preferences.webhooks) : void 0;
};