Fix Reblog API
authorEgor Kislitsyn <egor@kislitsyn.com>
Mon, 18 Jan 2021 16:15:57 +0000 (20:15 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Mon, 18 Jan 2021 16:15:57 +0000 (20:15 +0400)
commit1b79dce7bc53f0aa6ce07fdc178bb72b5caabe98
tree148a5c2c65cb07736ddd92b5eb7f96b78d2c0f1c
parent732cc0ce46e8044909dd5205858c43f75fe3e937
Fix Reblog API

Do not set visibility parameter to `public` by default and let CommonAPI to infer it from status.
lib/pleroma/web/api_spec/operations/status_operation.ex
test/pleroma/web/common_api_test.exs
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs