mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Set importer
context for members importer
no issue
needs 82eb861955
Set the context to `importer` for any members importer actions which will determine the correct source of origin in the members events table
This commit is contained in:
parent
d5e7893212
commit
7dead9be5c
1 changed files with 4 additions and 1 deletions
|
@ -53,7 +53,10 @@ const membersImporter = new MembersCSVImporter({
|
||||||
isSet: labsService.isSet.bind(labsService),
|
isSet: labsService.isSet.bind(labsService),
|
||||||
addJob: jobsService.addJob.bind(jobsService),
|
addJob: jobsService.addJob.bind(jobsService),
|
||||||
knex: db.knex,
|
knex: db.knex,
|
||||||
urlFor: urlUtils.urlFor.bind(urlUtils)
|
urlFor: urlUtils.urlFor.bind(urlUtils),
|
||||||
|
context: {
|
||||||
|
importer: true
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const processImport = async (options) => {
|
const processImport = async (options) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue