Resolve linter issues

This commit is contained in:
Chi Vinh Le
2018-06-05 04:28:54 +02:00
parent d9a1d739dc
commit ccff6ed63b
148 changed files with 1171 additions and 265 deletions
@@ -15,7 +15,12 @@ function reduceSettings(newSettings, newValue, key) {
* Update the user notification settings.
*/
async function updateNotificationSettings(ctx, settings) {
const { connectors: { models: { User } }, user } = ctx;
const {
connectors: {
models: { User },
},
user,
} = ctx;
// Generate the settings set object, and just exit if we haven't changed
// anything.
@@ -29,7 +34,9 @@ async function updateNotificationSettings(ctx, settings) {
}
module.exports = ctx => {
const { connectors: { errors: ErrNotAuthorized } } = ctx;
const {
connectors: { errors: ErrNotAuthorized },
} = ctx;
let mutators = {
User: {