Set default post visibility to public
This commit is contained in:
parent
3f633a1403
commit
aef6e1f4c0
1 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,8 @@
|
|||
(defn send-toot! [text]
|
||||
(when (environment-setup?)
|
||||
(http/post (str (:mastodon-instance env) "/api/v1/statuses")
|
||||
{:form-params {:status text}
|
||||
{:form-params {:status text
|
||||
:visiblity "public"}
|
||||
:headers {"Authorization" (str "Bearer " (:access-token env))}}))
|
||||
(log/info text))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue