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 4a1e1b2 commit 0f5a67bCopy full SHA for 0f5a67b
swift-sdk/Internal/RequestCreator.swift
@@ -102,7 +102,7 @@ struct RequestCreator {
102
103
let itemsToSerialize = items.map { $0.toDictionary() }
104
105
- var body: [String: Any] = [JsonKey.Commerce.user: apiUserDict,
+ let body: [String: Any] = [JsonKey.Commerce.user: apiUserDict,
106
JsonKey.Commerce.items: itemsToSerialize]
107
108
return .success(.post(createPostRequest(path: Const.Path.updateCart, body: body)))
0 commit comments