replaced eslint:recommended with prettier

This commit is contained in:
Wyatt Johnson
2018-01-11 20:00:34 -07:00
parent d56c19016a
commit 0abc2ca243
649 changed files with 16235 additions and 13008 deletions
+3 -5
View File
@@ -1,18 +1,16 @@
const errors = require('../../errors');
const {
UPDATE_SETTINGS,
} = require('../../perms/constants');
const { UPDATE_SETTINGS } = require('../../perms/constants');
const SettingsService = require('../../services/settings');
const update = async (ctx, settings) => SettingsService.update(settings);
module.exports = (ctx) => {
module.exports = ctx => {
let mutators = {
Settings: {
update: () => Promise.reject(errors.ErrNotAuthorized),
}
},
};
if (ctx.user) {