Skip to content

Commit 5821e3f

Browse files
fix(PSG-5239): fixed unhandled ASAuthorizationController error case (#31)
1 parent 0372e14 commit 5821e3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/Passage/services/passkeyAuthentication/PasskeyAuthorizationController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ internal class PasskeyAuthenticationController:
137137
controller: ASAuthorizationController,
138138
didCompleteWithError error: Error
139139
) {
140-
assertionCredentialContinuation?.resume(throwing: error)
140+
registrationCredentialContinuation?.resume(throwing: error)
141+
assertionCredentialContinuation?.resume(throwing: error)
141142
}
142143

143144
}

0 commit comments

Comments
 (0)