From 8e842c621682dd711a390df47a676580ab3bbd23 Mon Sep 17 00:00:00 2001 From: Victor Bojica Date: Wed, 5 Feb 2025 15:15:46 +0200 Subject: [PATCH] added missing build --- lib/build/recipe/webauthn/recipeImplementation.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/build/recipe/webauthn/recipeImplementation.js b/lib/build/recipe/webauthn/recipeImplementation.js index e3ef679cc..0e42c40fc 100644 --- a/lib/build/recipe/webauthn/recipeImplementation.js +++ b/lib/build/recipe/webauthn/recipeImplementation.js @@ -332,11 +332,9 @@ function getRecipeInterface(querier, getWebauthnConfig) { }; }, getUserFromRecoverAccountToken: async function ({ token, tenantId, userContext }) { - return await querier.sendPostRequest( + return await querier.sendGetRequest( new normalisedURLPath_1.default( - `/${ - tenantId === undefined ? constants_1.DEFAULT_TENANT_ID : tenantId - }/recipe/webauthn/user/recover/token` + `/${tenantId === undefined ? constants_1.DEFAULT_TENANT_ID : tenantId}/recipe/webauthn/user/recover` ), { token }, userContext