mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
Resolve linter issues
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user