Skip to content

Commit

Permalink
Revert AnyCodable parser changes
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Oct 9, 2023
1 parent 3ef85df commit 4fd6d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Commons/AnyCodable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ extension AnyCodable: Decodable, Encodable {
if let intVal = try? container.decode(Int.self) {
value = intVal
} else if let doubleVal = try? container.decode(Double.self) {
value = Decimal(doubleVal)
value = doubleVal
} else if let boolVal = try? container.decode(Bool.self) {
value = boolVal
} else if let stringVal = try? container.decode(String.self) {
Expand Down

0 comments on commit 4fd6d9b

Please sign in to comment.