Skip to content

Commit

Permalink
fix proguard error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mansi-mParticle committed Nov 27, 2024
1 parent 1440256 commit 3430973
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class MPCommerceMessage protected constructor(builder: Builder, session: Interna
impression.products.takeIf { it.isNotEmpty() }?.let {
val productsJson = JSONArray()
impressionJson.put(Constants.Commerce.IMPRESSION_PRODUCT_LIST, productsJson)
for (product in impression.products) {
for (product in it) {
productsJson.put(JSONObject(product.toString()))
}
}
Expand Down

0 comments on commit 3430973

Please sign in to comment.