mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
e177e7e1b5
refs a06064b115
- fixed incorrect path in require for base email analytics service
20 lines
679 B
JavaScript
20 lines
679 B
JavaScript
const config = require('../../../shared/config');
|
|
const logging = require('../../../shared/logging');
|
|
const db = require('../../data/db');
|
|
const settings = require('../settings/cache');
|
|
const {EmailAnalyticsService} = require('@tryghost/email-analytics-service');
|
|
const EventProcessor = require('./lib/event-processor');
|
|
const MailgunProvider = require('@tryghost/email-analytics-provider-mailgun');
|
|
const queries = require('./lib/queries');
|
|
|
|
module.exports = new EmailAnalyticsService({
|
|
config,
|
|
logging,
|
|
settings,
|
|
eventProcessor: new EventProcessor({db, logging}),
|
|
providers: [
|
|
new MailgunProvider({config, settings, logging})
|
|
],
|
|
queries
|
|
});
|