Skip to content

Commit 8914ebd

Browse files
committed
chore: update EndpointResolving
1 parent 4c40e0a commit 8914ebd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Support/CustomEndpoint/EndpointResolving.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Foundation
99
import SmithyHTTPAPI
1010

11-
struct EndpointResolving {
11+
struct EndpointResolving : @unchecked Sendable {
1212
let run: (String) throws -> SmithyHTTPAPI.Endpoint
1313
}
1414

@@ -20,7 +20,7 @@ extension EndpointResolving {
2020
try validationStep.validate(input)
2121
}
2222

23-
nonisolated(unsafe) static let userPool = EndpointResolving { endpoint in
23+
static let userPool = EndpointResolving { endpoint in
2424
// We want to enforce that the endpoint is excluded from the
2525
// configuration so as not to give the impression that other
2626
// schemes are supported. While we could check for, and allow,

0 commit comments

Comments
 (0)