Skip to content

Commit 2324e4a

Browse files
authored
fix: Corrected type for allowCredentials
1 parent 739b73b commit 2324e4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/src/main/java/expo/modules/passkeys/PasskeyOptions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class PublicKeyCredentialRequestOptions: Record {
7575
var timeout: Int? = null
7676

7777
@Field
78-
var allowCredentials: List<PublicKeyCredentialParameters>? = null
78+
var allowCredentials: List<PublicKeyCredentialDescriptor>? = null
7979

8080
@Field
8181
var userVerification: String? = null
@@ -236,4 +236,4 @@ class AuthenticationExtensionsLargeBlobOutputsJSON: Record {
236236

237237
@Field
238238
var written: Boolean? = null;
239-
};
239+
};

0 commit comments

Comments
 (0)