Fedihosting-Foundation / plemmy

A Python package for accessing the LemmyHttp API
Apache License 2.0
45 stars 15 forks source link

bugfix for get_person_mentions(unread_only=...) #15

Closed feelixs closed 1 year ago

feelixs commented 1 year ago

When unread_only is given as a Python bool, fix error "Query deserialize error: provided string was not true or false"

tjkessler commented 1 year ago

@mike-fmh,

Interesting, I had assumed either the requests library or Lemmy itself would handle the type conversion. Nice catch, and an elegant solution. I'll merge, new version will be 0.3.3!

Travis