Skip to content

Commit

Permalink
fix regexp for AnyValue
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzh committed May 18, 2022
1 parent dc8be6c commit ec1a219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/EverscaleClientSwift/Extensions/AnyValue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public enum AnyValue: Decodable, Encodable, Equatable {
case let .bool(value):
result = String(value)
case let .string(value):
result = "\"\(value.replace(#"""#, "\\\""))\""
result = "\"\(value.replace(#"""#, #"\\""#))\""
case let .int(value):
result = String(value)
case let .bigInt(value):
Expand Down

0 comments on commit ec1a219

Please sign in to comment.