pull down to refresh

I didn’t realize my daily mining script stopped working a couple days ago. I’ll have to check the logs to see what happened. Last time this happened, something in the API changed. Not sure if it’ll be the same this time
@ek anything come to mind in the recent releases? I don’t know if it’s an API change or just an issue on my box, but figured I’d ask
reply
100 sats \ 2 replies \ @ek 23 Sep
maxBid was removed from the item query. So if you are querying it, you should remove it.
I recommend to only query the fields you actually need to avoid such problems. I had the same issue with the backend that fetches the SN stats for each post at ekzy.is: fetching too much I don't need and then it breaks unnecessarily.
reply
Hmm ok , I’ll take a look at that once I check the logs
ETA: Thank you!
reply
Yep, removing maxBid from my query fixed it. Thank you!
reply