Closed AndrewFlan closed 1 year ago
Hi @AndrewFlan,
This issue should be fixed as of PR https://github.com/tjkessler/plemmy/pull/18, see the PR for details. TL;DR, it looks like some API functions accept boolean values converted to strings, and others accept actual boolean values. Very strange.
Version 0.3.5
has the updates.
Best, Travis
Thinking out loud: going forward I'd like to implement some unit tests for API responses, nothing too intensive, just to make sure 200
responses are returned.
That should help us avoid bugs like this in the future!
I made a script to block communities that was working fine a while ago, but now it seems that the
block_community
request returns a status code of400
with a reason ofBad Request
. I've tried with various instances and what not, but all seem to have the same outcome.