summaryrefslogtreecommitdiff
path: root/Hutch/Networking/GraphQLRequest.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/Networking/GraphQLRequest.swift')
-rw-r--r--Hutch/Networking/GraphQLRequest.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/Hutch/Networking/GraphQLRequest.swift b/Hutch/Networking/GraphQLRequest.swift
index bce7b40..8924e6a 100644
--- a/Hutch/Networking/GraphQLRequest.swift
+++ b/Hutch/Networking/GraphQLRequest.swift
@@ -34,6 +34,8 @@ struct AnyCodable: Sendable, Encodable {
try container.encode(v)
case let v as Bool:
try container.encode(v)
+ case let v as [String?]:
+ try container.encode(v)
case let v as [any Sendable]:
try container.encode(v.map { AnyCodable($0) })
case let v as [String: any Sendable]: