Prevented an invalid order during deletion
no issue Will allow the demo data script to run if offers exist and have been redeemed
This commit is contained in:
parent
b60761706b
commit
f7188b4dcf
@ -23,15 +23,15 @@ const {
|
||||
MembersLoginEventsImporter,
|
||||
MembersStatusEventsImporter,
|
||||
MembersSubscribeEventsImporter,
|
||||
MembersSubscriptionCreatedEventsImporter,
|
||||
MembersStripeCustomersImporter,
|
||||
MembersStripeCustomersSubscriptionsImporter,
|
||||
MembersPaidSubscriptionEventsImporter,
|
||||
EmailBatchesImporter,
|
||||
EmailRecipientsImporter,
|
||||
RedirectsImporter,
|
||||
MembersClickEventsImporter,
|
||||
OffersImporter,
|
||||
MembersStripeCustomersSubscriptionsImporter,
|
||||
MembersSubscriptionCreatedEventsImporter,
|
||||
LabelsImporter,
|
||||
MembersLabelsImporter,
|
||||
RolesUsersImporter,
|
||||
@ -314,7 +314,7 @@ class DataGenerator {
|
||||
amount: 3
|
||||
});
|
||||
|
||||
const membersCreatedEventsImporter = new MembersCreatedEventsImporter(transaction, {baseUrl: this.baseUrl, posts});
|
||||
const membersCreatedEventsImporter = new MembersCreatedEventsImporter(transaction, {posts});
|
||||
await membersCreatedEventsImporter.importForEach(members, {amount: 1});
|
||||
|
||||
const membersLoginEventsImporter = new MembersLoginEventsImporter(transaction);
|
||||
|
Loading…
Reference in New Issue
Block a user