Skip to content

Commit 1f90534

Browse files
committed
Update SERDE in WebAuthnService
1 parent e73ce03 commit 1f90534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/web-core/src/services/WebAuthnService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class WebAuthnService {
7474
}
7575

7676
return {
77-
response: JSON.stringify(credential.toJSON()),
77+
response: JSON.stringify(credential),
7878
message: '',
7979
};
8080
}
@@ -126,7 +126,7 @@ export class WebAuthnService {
126126
})) as PublicKeyCredential;
127127

128128
return {
129-
response: JSON.stringify(credential.toJSON()),
129+
response: JSON.stringify(credential),
130130
message: '',
131131
};
132132
}

0 commit comments

Comments
 (0)