cleanup: Eventbus, BP, Contentful, NotificationService (#292)
This commit is contained in:
1 parent
db9d6c0cf5
commit
c1bec4f843
7 files changed
+76
-57
No files matched your search
@@ -162,7 +162,7 @@ class NotificationService extends BaseService {
|
||||
handleEvent(eventName, data) {
|
||||
const subs = this.subscribers_[eventName]
|
||||
if (!subs) {
|
||||
return
|
||||
return Promise.resolve()
|
||||
}
|
||||
|
||||
return Promise.all(
|
||||
|
||||
@@ -110,10 +110,13 @@ class OrderService extends BaseService {
|
||||
shippingOptionService: this.shippingOptionService_,
|
||||
shippingProfileService: this.shippingProfileService_,
|
||||
fulfillmentProviderService: this.fulfillmentProviderService_,
|
||||
fulfillmentService: this.fulfillmentService_,
|
||||
customerService: this.customerService_,
|
||||
discountService: this.discountService_,
|
||||
totalsService: this.totalsService_,
|
||||
cartService: this.cartService_,
|
||||
giftCardService: this.giftCardService_,
|
||||
addressRepository: this.addressRepository_,
|
||||
draftOrderService: this.draftOrderService_,
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user