fix(medusa-payment-stripe): Add item adjustments relation in CartSubcriber (#2052)
This commit is contained in:
@@ -30,6 +30,8 @@ class CartSubscriber {
|
|||||||
"shipping_address",
|
"shipping_address",
|
||||||
"region",
|
"region",
|
||||||
"region.payment_providers",
|
"region.payment_providers",
|
||||||
|
"items",
|
||||||
|
"items.adjustments",
|
||||||
"payment_sessions",
|
"payment_sessions",
|
||||||
"customer",
|
"customer",
|
||||||
],
|
],
|
||||||
@@ -44,7 +46,7 @@ class CartSubscriber {
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (session) {
|
if (session) {
|
||||||
return this.paymentProviderService_.updateSession(session, cart)
|
return await this.paymentProviderService_.updateSession(session, cart)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user