Skip to content

Commit 841143d

Browse files
committed
🩹 choreL don't convert to nsdict
1 parent ad43b60 commit 841143d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftFetch/SwiftFetch.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public func fetch(_ request: FetchRequest) async throws -> FetchResponse {
320320
forStatusCode: res.statusCode
321321
),
322322
headers: FetchHeaders(
323-
(res.allHeaderFields as NSDictionary as? [String: String]) ?? [:]
323+
(res.allHeaderFields as? [String: String]) ?? [:]
324324
),
325325
body: body
326326
)

0 commit comments

Comments
 (0)