We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 304e2f8 commit 8a5a963Copy full SHA for 8a5a963
AmplifyPlugins/Predictions/AWSPredictionsPlugin/Liveness/Service/FaceLivenessSession.swift
@@ -212,7 +212,7 @@ public final class FaceLivenessSession: LivenessService {
212
let serverDate else {
213
onServiceException(.init(event: exceptionEvent))
214
// send onComplete with runtime error close code
215
- if let runtimeError = URLSessionWebSocketTask.CloseCode(rawValue: 4005) {
+ if let runtimeError = URLSessionWebSocketTask.CloseCode(rawValue: 4_005) {
216
onComplete(.unexpectedClosure(runtimeError))
217
}
218
return .stopAndInvalidateSession
0 commit comments