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:
cyf0e authored and GitHub committed 2023-12-22 08:13:39 +01:00
1 parent a0dd18c12a
commit b5a07cfcf4
2 files changed
+4 -3

No files matched your search

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