fix(medusa): add payments default relation to getTotalsRelations (#5875)
* bugfix: Add payments relation to getTotalsRelations * update order test to expect correct paid_total and refundable_amount
This commit is contained in:
1 parent
a0dd18c12a
commit
b5a07cfcf4
2 files changed
+4
-3
No files matched your search
@@ -2081,7 +2081,8 @@ class OrderService extends TransactionBaseService {
|
||||
relationSet.add("shipping_methods")
|
||||
relationSet.add("shipping_methods.tax_lines")
|
||||
relationSet.add("region")
|
||||
|
||||
relationSet.add("payments")
|
||||
|
||||
return Array.from(relationSet.values())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user