Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix error

Prateek Sunal0858669104f0
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Auth/PasskeyView.swift b/mobile/native/darwin/Apps/ensu/ensu/Auth/PasskeyView.swift
index 2a3f497e0a..b5725776e7 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Auth/PasskeyView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Auth/PasskeyView.swift
@@ -161,7 +161,7 @@ struct PasskeyView: View {
@MainActor
private func handleAuthResponse(_ payload: AuthResponsePayload) async throws {
guard let keyAttrs = payload.keyAttributes else {
- throw EnsuError.Message(message: "Invalid passkey response")
+ throw EnsuError.Message(reason: "Invalid passkey response")
}
if let password, !password.isEmpty {