mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
1530cb28a5
refs https://linear.app/tryghost/issue/CORE-64/resolve-undissmissable-update-notification-banners - There's no need to pass a whole "version object" when all we need it a string in a full version format inside the module
11 lines
353 B
JavaScript
11 lines
353 B
JavaScript
const settingsCache = require('../../../shared/settings-cache');
|
|
const ghostVersion = require('@tryghost/version');
|
|
const Notifications = require('./notifications');
|
|
const models = require('../../models');
|
|
|
|
module.exports.notifications = new Notifications({
|
|
settingsCache,
|
|
ghostVersion: ghostVersion.full,
|
|
SettingsModel: models.Settings
|
|
});
|