diff --git a/packages/@magic-sdk/provider/src/modules/auth.ts b/packages/@magic-sdk/provider/src/modules/auth.ts index b53075743..cfff76c60 100644 --- a/packages/@magic-sdk/provider/src/modules/auth.ts +++ b/packages/@magic-sdk/provider/src/modules/auth.ts @@ -118,7 +118,10 @@ export class AuthModule extends BaseModule { this.createIntermediaryEvent(LoginWithEmailOTPEventEmit.LostDevice, requestPayload.id as string)(); }); handle.on(LoginWithEmailOTPEventEmit.VerifyRecoveryCode, (recoveryCode: string) => { - this.createIntermediaryEvent(LoginWithEmailOTPEventEmit.LostDevice, requestPayload.id as string)(recoveryCode); + this.createIntermediaryEvent( + LoginWithEmailOTPEventEmit.VerifyRecoveryCode, + requestPayload.id as string, + )(recoveryCode); }); handle.on(LoginWithEmailOTPEventEmit.Cancel, () => { this.createIntermediaryEvent(LoginWithEmailOTPEventEmit.Cancel, requestPayload.id as any)();