Fix param name to match server

This commit is contained in:
Manav Rathi 2024-05-26 08:29:57 +05:30
parent 5fe5451f5c
commit db3764d448
No known key found for this signature in database

View file

@ -29,7 +29,7 @@ export const isPasskeyRecoveryEnabled = async () => {
export const configurePasskeyRecovery = async (
secret: string,
userEncryptedSecret: string,
userSecretCipher: string,
userSecretNonce: string,
) => {
try {
@ -39,7 +39,7 @@ export const configurePasskeyRecovery = async (
`${getEndpoint()}/users/two-factor/passkeys/configure-recovery`,
{
secret,
userEncryptedSecret,
userSecretCipher,
userSecretNonce,
},
{