We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 494bd14 commit 8b96df5Copy full SHA for 8b96df5
Networking/Networking/Model/Order.swift
@@ -183,7 +183,8 @@ extension Order: Comparable {
183
lhs.paymentMethodTitle == rhs.paymentMethodTitle &&
184
lhs.billingAddress == rhs.billingAddress &&
185
lhs.shippingAddress == rhs.shippingAddress &&
186
- lhs.coupons == rhs.coupons &&
+ lhs.coupons.count == rhs.coupons.count &&
187
+ lhs.coupons.sorted() == rhs.coupons.sorted() &&
188
lhs.items.count == rhs.items.count &&
189
lhs.items.sorted() == rhs.items.sorted()
190
}
0 commit comments