Setup future usage

This commit is contained in:
Sebastian Rindom committed 2020-07-13 17:35:50 +02:00
1 parent eeae2a056c
commit cd989c56a7
20 files changed
+282 -26

No files matched your search

+4
View File
@@ -21,6 +21,10 @@ class OrderSubscriber {
this.eventBus_.subscribe("order.placed", async order => {
await this.customerService_.addOrder(order.customer_id, order._id)
await this.customerService_.addAddress(
order.customer_id,
order.shipping_address
)
})
this.eventBus_.subscribe("order.placed", async order => {