Skip to content

Commit b3fc63a

Browse files
committed
fix recaptcha typo
1 parent 33aba4c commit b3fc63a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/common/providers/identity.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ export interface AuthBlockingEvent extends AuthEventContext {
340340
}
341341

342342
/**
343-
* The reCACPTCHA action options.
343+
* The reCAPTCHA action options.
344344
*/
345-
export type RecatpchaActionOptions = "ALLOW" | "BLOCK";
345+
export type RecaptchaActionOptions = "ALLOW" | "BLOCK";
346346

347347
/** The handler response type for beforeCreate blocking events */
348348
export interface BeforeCreateResponse {
@@ -351,7 +351,7 @@ export interface BeforeCreateResponse {
351351
emailVerified?: boolean;
352352
photoURL?: string;
353353
customClaims?: object;
354-
recaptchaActionOverride?: RecatpchaActionOptions;
354+
recaptchaActionOverride?: RecaptchaActionOptions;
355355
}
356356

357357
/** The handler response type for beforeSignIn blocking events */
@@ -441,7 +441,7 @@ export interface DecodedPayload {
441441
* @internal */
442442
export interface ResponsePayload {
443443
userRecord?: UserRecordResponsePayload;
444-
recaptchaActionOverride?: RecatpchaActionOptions;
444+
recaptchaActionOverride?: RecaptchaActionOptions;
445445
}
446446

447447
/** @internal */
@@ -679,7 +679,7 @@ export function generateResponsePayload(
679679
return {};
680680
}
681681

682-
const { recaptchaActionOverride: recaptchaActionOverride, ...formattedAuthResponse } =
682+
const { recaptchaActionOverride, ...formattedAuthResponse } =
683683
authResponse;
684684
const result = {} as ResponsePayload;
685685
const updateMask = getUpdateMask(formattedAuthResponse);

0 commit comments

Comments
 (0)