Skip to content

Commit

Permalink
Fixed SignupFlow sample
Browse files Browse the repository at this point in the history
  • Loading branch information
stidsborg committed Apr 26, 2024
1 parent 31bc564 commit 8653b38
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ public override async Task Run(string customerEmail)
.SuspendUntilFirstOrNone();

if (emailVerifiedOption.HasValue)
return;

await Effect.Capture($"Reminder_{i}", () => SendReminderMail(customerEmail));
break;

if (i == 5)
throw new UserSignupFailedException($"User '{customerEmail}' did not activate within threshold");

await Effect.Capture($"Reminder_{i}", () => SendReminderMail(customerEmail));
}

await Effect.Capture("WelcomeMail", () => SendWelcomeMail(customerEmail));
Expand Down

0 comments on commit 8653b38

Please sign in to comment.