cleanup: Eventbus, BP, Contentful, NotificationService (#292)

This commit is contained in:
Oliver Windall Juhl authored and GitHub committed 2021-06-24 17:56:02 +02:00
1 parent db9d6c0cf5
commit c1bec4f843
7 files changed
+76 -57

No files matched your search

+1 -1
View File
@@ -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(
+3
View File
@@ -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_,
})