debugging (remove later)

This commit is contained in:
axell 2024-07-06 13:36:31 +02:00 committed by GitHub
parent 6b7f08bad6
commit 9397ebe261
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -248,8 +248,9 @@ namespace Bloxstrap.Integrations
smallimage = userPfpResponse.Data.ToArray()[0].ImageUrl;
App.Logger.WriteLine(LOG_IDENT, $"Got user thumbnail as {smallimage}");
}
var userInfoResponse = await Http.GetJson<ApiArrayResponse<UserInfoResponse>>($"https://users.roblox.com/v1/users/{userId}");
App.Logger.WriteLine(LOG_IDENT, "userinforesponse is not blocking thread.");
if (userInfoResponse is null || !userInfoResponse.Data.Any())
{
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");