Skip to content

Commit

Permalink
fix user retrieval by token path
Browse files Browse the repository at this point in the history
  • Loading branch information
niftyvictor committed Feb 5, 2025
1 parent a0155f2 commit 7c2441e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ts/recipe/webauthn/recipeImplementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ export default function getRecipeInterface(
},

getUserFromRecoverAccountToken: async function ({ token, tenantId, userContext }) {
return await querier.sendPostRequest(
return await querier.sendGetRequest(
new NormalisedURLPath(
`/${tenantId === undefined ? DEFAULT_TENANT_ID : tenantId}/recipe/webauthn/user/recover/token`
`/${tenantId === undefined ? DEFAULT_TENANT_ID : tenantId}/recipe/webauthn/user/recover`
),
{ token },
userContext
Expand Down

0 comments on commit 7c2441e

Please sign in to comment.