Skip to content

Commit 786d120

Browse files
Merge pull request #25 from iScorpio/main
fix: Corrected type for allowCredentials
2 parents 739b73b + 2324e4a commit 786d120

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)