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,7 +1,7 @@
module.exports = function (user, req, cb) {
module.exports = function(user, req, cb) {
delete user.preferences.webhooks[req.params.id];
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;
};