hotfix: Adds options to cloned RestockNotificationService (#369)
This commit is contained in:
committed by
GitHub
parent
798dd3c666
commit
e2897e2a62
@@ -34,13 +34,16 @@ class RestockNotificationService extends BaseService {
|
||||
return this
|
||||
}
|
||||
|
||||
const cloned = new RestockNotificationService({
|
||||
manager: transactionManager,
|
||||
options: this.options_,
|
||||
eventBusService: this.eventBus_,
|
||||
productVariantService: this.productVariantService_,
|
||||
restockNotificationModel: this.restockNotificationModel_,
|
||||
})
|
||||
const cloned = new RestockNotificationService(
|
||||
{
|
||||
manager: transactionManager,
|
||||
options: this.options_,
|
||||
eventBusService: this.eventBus_,
|
||||
productVariantService: this.productVariantService_,
|
||||
restockNotificationModel: this.restockNotificationModel_,
|
||||
},
|
||||
this.options_
|
||||
)
|
||||
|
||||
cloned.transactionManager_ = transactionManager
|
||||
|
||||
|
||||
Reference in New Issue
Block a user