Fix POST request
This commit is contained in:
parent
3fb74af76f
commit
3f633a1403
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@
|
|||
(when (environment-setup?)
|
||||
(http/post (str (:mastodon-instance env) "/api/v1/statuses")
|
||||
{:form-params {:status text}
|
||||
:headers {:authorization (str "Bearer " (:access-token env))}}))
|
||||
:headers {"Authorization" (str "Bearer " (:access-token env))}}))
|
||||
(log/info text))
|
||||
|
||||
;; defining the command line interface
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue