Skip to content

Commit

Permalink
fix: 🔊 Fix email logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaneu committed Jan 13, 2024
1 parent a582f8d commit a163f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function/Service/UserService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private string GenerateUserToken(string email, DateTime validityDate, string use

private async Task SendEmail(string to, string content, string textContent, string subject)
{
_log.LogInformation("Sending email: {subject}. Destination: {to}", subject, to.Take(4));
_log.LogInformation($"Sending email: {subject}. Destination: {to.Substring(0, 3)}");
// If Azure ACS is configured, use this instead of Mailjet
if(!string.IsNullOrEmpty(_azureAcsConnectionString))
{
Expand Down

0 comments on commit a163f94

Please sign in to comment.