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 2b70f87 commit 7d08d1eCopy full SHA for 7d08d1e
clients/algoliasearch-client-swift/Sources/Core/Helpers/Extensions.swift
@@ -91,7 +91,7 @@ extension Data: JSONEncodable {
91
92
let jsonData = "{\"data\":\(selfString)}".data(using: .utf8)
93
guard let jsonData,
94
- let json = try? CodableHelper.jsonDecoder.decode([String: String].self, from: jsonData) else {
+ let json = try? CodableHelper.jsonDecoder.decode([String: AnyCodable].self, from: jsonData) else {
95
fatalError("Could not decode from data holder: `{\"data\":\(selfString)}`")
96
}
97
0 commit comments