Fixed gravatar bug
This commit is contained in:
parent
8f028e2ac6
commit
52f4b00f84
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ public class AvatarController : Controller
|
|||
|
||||
try
|
||||
{
|
||||
var url = GravatarController.GetImageUrl(user.Email, 100);
|
||||
var url = GravatarController.GetImageUrl(user.Email.ToLower(), 100);
|
||||
|
||||
using var client = new HttpClient();
|
||||
var res = await client.GetByteArrayAsync(url);
|
||||
|
|
Loading…
Add table
Reference in a new issue