Skip to content

Commit 0c7a6b7

Browse files
committed
Adds id to product input to be able to reference it for updates
1 parent e930a00 commit 0c7a6b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Creation/Synchronizer/OrderSynchronizer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ struct OrderSyncProductInput {
1919
case product(Product)
2020
case variation(ProductVariation)
2121
}
22+
let id = UUID().uuidString
2223
let product: ProductType
2324
let quantity: Int
2425
}

0 commit comments

Comments
 (0)