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
@@ -1,6 +1,8 @@
const getOrganizationName = async ctx => {
// Grab some useful tools.
const { loaders: { Settings } } = ctx;
const {
loaders: { Settings },
} = ctx;
// Get the settings.
const { organizationName = null } = await Settings.select('organizationName');
@@ -16,7 +18,13 @@ const getOrganizationName = async ctx => {
* @param {Mixed} context the notification context
*/
const getNotificationBody = async (ctx, handler, context) => {
const { connectors: { services: { I18n: { t } } } } = ctx;
const {
connectors: {
services: {
I18n: { t },
},
},
} = ctx;
const { category, hydrate = () => [] } = handler;
// Get the body replacement variables for the translation key.