Ghost/core/server/services/custom-theme-settings.js

15 lines
498 B
JavaScript
Raw Normal View History

const {Service: CustomThemeSettingsService} = require('@tryghost/custom-theme-settings-service');
const customThemeSettingsCache = require('../../shared/custom-theme-settings-cache');
const models = require('../models');
class CustomThemeSettingsServiceWrapper {
init() {
this.api = new CustomThemeSettingsService({
model: models.CustomThemeSetting,
cache: customThemeSettingsCache
});
}
}
module.exports = new CustomThemeSettingsServiceWrapper();