Skip to content

Commit

Permalink
Update SendCode.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Hisham Bin Ateya <[email protected]>
  • Loading branch information
MikeAlhayek and hishamco authored May 27, 2024
1 parent 361e0b0 commit a3c57aa
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ private static async Task<IResult> HandleAsync<T>(
return TypedResults.Ok(new
{
success = result.Succeeded,
message = result.Succeeded ? S["A verification code has been sent via email. Please check your email for the code."].Value
: errorMessage.Value,
message = result.Succeeded
? S["A verification code has been sent via email. Please check your email for the code."].Value
: errorMessage.Value,
});
}

Expand Down

0 comments on commit a3c57aa

Please sign in to comment.