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