Skip to content

Commit 5786dd6

Browse files
authored
fix: Swift 6 now has URLSession async method (#565)
Swift 6 has Async URLSession Method
1 parent 447ac7c commit 5786dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Helpers/URLSession+AsyncAwait.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if canImport(FoundationNetworking)
1+
#if canImport(FoundationNetworking) && compiler(<6)
22
import Foundation
33
import FoundationNetworking
44

0 commit comments

Comments
 (0)