feat: fix roblox image

This commit is contained in:
Lakhan Samani
2024-05-01 17:04:33 +05:30
parent d0e6392f1a
commit d924e36786
3 changed files with 5 additions and 2 deletions

View File

@@ -873,7 +873,7 @@ func processRobloxUserInfo(ctx context.Context, code, verifier string) (*models.
if val, ok := userRawData["email"]; ok {
email = val.(string)
} else {
email = userRawData["preferred_username"].(string)
email = userRawData["sub"].(string)
}
user := &models.User{
GivenName: &firstName,