Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
niftyvictor committed Nov 12, 2024
1 parent 3bb7234 commit ce371d1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/ts/recipe/webauthn/api/implementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,6 @@ export default function getAPIImplementation(): APIInterface {
userContext,
});

// todo decide how to handle these
if (updateResponse.status === "INVALID_AUTHENTICATOR_ERROR") {
// This should happen only cause of a race condition where the user
// might be deleted before token creation and consumption.
Expand Down Expand Up @@ -977,7 +976,6 @@ export default function getAPIImplementation(): APIInterface {
userContext,
});

// todo decide how to handle these
if (tokenConsumptionResponse.status === "RECOVER_ACCOUNT_TOKEN_INVALID_ERROR") {
return tokenConsumptionResponse;
}
Expand Down

0 comments on commit ce371d1

Please sign in to comment.