Skip to content

Commit

Permalink
Fix bug in GetUserInfoById
Browse files Browse the repository at this point in the history
  • Loading branch information
sim0n00ps committed Nov 2, 2024
1 parent b8a3b46 commit 997ee4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OF DL/Helpers/APIHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public async Task<JObject> GetUserInfoById(string endpoint)
//if the content creator doesnt exist, we get a 200 response, but the content isnt usable
//so let's not throw an exception, since "content creator no longer exists" is handled elsewhere
//which means we wont get loads of exceptions
if (body.Contains("[]"))
if (body.Equals("[]"))
return null;

JObject jObject = JObject.Parse(body);
Expand Down

0 comments on commit 997ee4c

Please sign in to comment.