remove thing

This commit is contained in:
axell 2024-07-06 14:16:25 +02:00 committed by GitHub
parent acfd8ad2f3
commit 95e58d25c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,7 +249,7 @@ namespace Bloxstrap.Integrations
App.Logger.WriteLine(LOG_IDENT, $"Got user thumbnail as {smallimage}");
}
var userInfoResponse = await Http.GetJson<ApiArrayResponse<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.Data.Any())
{
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");