0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Exported MembersCSVImporter from Members service

no-issue

This will allow the controller to be updated to use the new importer
This commit is contained in:
Fabien O'Carroll 2020-12-09 16:12:26 +00:00 committed by Fabien 'egg' O'Carroll
parent ff7773d1cf
commit cfad396652

View file

@ -1,6 +1,7 @@
const MembersSSR = require('@tryghost/members-ssr');
const MembersConfigProvider = require('./config');
const MembersCSVImporter = require('./importer');
const createMembersApiInstance = require('./api');
const createMembersSettingsInstance = require('./settings');
const {events} = require('../../lib/common');
@ -90,7 +91,9 @@ const membersService = {
getMembersApi: () => membersService.api
}),
stripeConnect: require('./stripe-connect')
stripeConnect: require('./stripe-connect'),
importer: new MembersCSVImporter({storagePath: config.getContentPath('data')}, settingsCache, () => membersApi)
};
module.exports = membersService;