Skip to content

Commit

Permalink
Fix missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethella committed Jan 18, 2024
1 parent 5327bc0 commit 24cab72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@magic-sdk/provider/src/modules/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ export class AuthModule extends BaseModule {
handle.on(RecencyCheckEventEmit.VerifyEmailOtp, (otp: string) => {
this.createIntermediaryEvent(RecencyCheckEventEmit.VerifyEmailOtp, requestPayload.id as any)(otp);
});
handle.on(UpdateEmailEventEmit.NewEmailRetry, () => {
this.createIntermediaryEvent(UpdateEmailEventEmit.NewEmailRetry, requestPayload.id as any)();
handle.on(UpdateEmailEventEmit.RetryWithNewEmail, (newEmail?) => {
this.createIntermediaryEvent(UpdateEmailEventEmit.RetryWithNewEmail, requestPayload.id as any)(newEmail);
});
handle.on(UpdateEmailEventEmit.Cancel, () => {
this.createIntermediaryEvent(UpdateEmailEventEmit.Cancel, requestPayload.id as any)();
Expand Down

0 comments on commit 24cab72

Please sign in to comment.