Fix param name to match server
This commit is contained in:
parent
5fe5451f5c
commit
db3764d448
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue