Ghost/core/server/services/notifications/index.js
Naz 935ffdd0f6 Refactored notifications module into a class
refs #12537

- Classes with DI friendly constructors are the pattern that are followed across the codebase
2021-01-14 16:19:15 +13:00

7 lines
291 B
JavaScript

const settingsCache = require('../settings/cache');
const {i18n} = require('../../lib/common');
const ghostVersion = require('../../lib/ghost-version');
const Notifications = require('./notifications');
module.exports.notifications = new Notifications({settingsCache, i18n, ghostVersion});