remove thing (again) (again)

This commit is contained in:
axell 2024-07-06 14:27:36 +02:00 committed by GitHub
parent aac398ef4d
commit adc962f971
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -250,7 +250,7 @@ namespace Bloxstrap.Integrations
} }
var userInfoResponse = await Http.GetJson<UserInfoResponse>($"https://users.roblox.com/v1/users/{userId}"); var userInfoResponse = await Http.GetJson<UserInfoResponse>($"https://users.roblox.com/v1/users/{userId}");
if (userInfoResponse is null || !userInfoResponse.Any()) if (userInfoResponse is null || !userInfoResponse.Username)
{ {
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!"); App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");
} else { } else {