Fedihosting-Foundation/plemmy

Wrong serialisation of unread_only

Pdzly opened this issue · 3 comments

Pdzly commented

httpclientinstance.list_registration_applications(... unread_only=True) gets not correctly formatted to true or false.

Workaround: Falsely put a string "true" or "false" as value instead of the type hinted boolean.

Error:
Query deserialize error: provided string was not true or false

Code:
lemmy.list_registration_applications(page=0, unread_only="true")

@Pdzly let me know if pull #27 fixes your issue!

Pdzly commented

Yeah should fix that.

Fantastic, new version is 0.3.11.