mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-07-05 12:19:59 -07:00
debugging (remove later)
This commit is contained in:
parent
6b7f08bad6
commit
9397ebe261
@ -248,8 +248,9 @@ namespace Bloxstrap.Integrations
|
|||||||
smallimage = userPfpResponse.Data.ToArray()[0].ImageUrl;
|
smallimage = userPfpResponse.Data.ToArray()[0].ImageUrl;
|
||||||
App.Logger.WriteLine(LOG_IDENT, $"Got user thumbnail as {smallimage}");
|
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<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())
|
if (userInfoResponse is null || !userInfoResponse.Data.Any())
|
||||||
{
|
{
|
||||||
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");
|
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");
|
||||||
|
Loading…
Reference in New Issue
Block a user