mirror of
https://github.com/ihabunek/toot.git
synced 2024-12-04 14:46:33 -05:00
Fix all media marked as sensitive
Needed to use "true" and "false" strings instead of bools.
This commit is contained in:
parent
acfe686c09
commit
05086e0c1f
@ -10,6 +10,7 @@ Changelog
|
||||
console. This makes it clear what's the preferred option.
|
||||
* Use Idempotency-Key header to prevent multiple toots being posted if request
|
||||
is retried
|
||||
* Fix a bug where all media would be marked as sensitive
|
||||
|
||||
**0.18.0 (2018-06-12)**
|
||||
|
||||
|
@ -100,7 +100,7 @@ def post_status(
|
||||
'status': status,
|
||||
'media_ids[]': media_ids,
|
||||
'visibility': visibility,
|
||||
'sensitive': sensitive,
|
||||
'sensitive': "true" if sensitive else "false",
|
||||
'spoiler_text': spoiler_text,
|
||||
'in_reply_to_id': in_reply_to_id,
|
||||
}, headers=headers).json()
|
||||
|
Loading…
Reference in New Issue
Block a user