Skip to content

Commit 3b497fc

Browse files
committed
RE1-T117 PR#403 fixes
1 parent bc35156 commit 3b497fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Repositories/Resgrid.Repositories.DataRepository/IdentityRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void UpdateEmail(string userId, string newEmail)
140140
{
141141
using (IDbConnection db = new SqlConnection(DataConfig.CoreConnectionString))
142142
{
143-
db.Execute($"UPDATE [AspNetUsers] SET [Email] = @newEmail, [NormalizedEmail] = @newEmailUpper WHERE Id = @userId", new { userId = userId, newEmail = newEmail, newEmailUpper = newEmail.ToUpperInvariant() });
143+
db.Execute($"UPDATE [AspNetUsers] SET [Email] = @newEmail, [NormalizedEmail] = @newEmailUpper WHERE Id = @userId", new { userId = userId, newEmail = newEmail, newEmailUpper = newEmail?.ToUpperInvariant() });
144144
}
145145
}
146146
}

0 commit comments

Comments
 (0)