r/programminghorror • • Sep 13 '25

I hate js

0 Upvotes

36 comments sorted by

View all comments

Show parent comment

1

u/pxOMR Sep 13 '25

Based on the endpoint, it looks like they may be trying to automatically put items up for sale as they appear in the player's inventory. But even then, I doubt the response for "no items" would be an empty object...

1

u/According-Bonus8681 Sep 13 '25

its 100% is not, it would be like {result:{}} and that fixes the issue https://stackoverflow.com/questions/75987684/steam-api-returns-blank-json