Fix POST request

This commit is contained in:
arne 2024-01-06 11:17:16 +01:00
commit 3f633a1403

View file

@ -60,7 +60,7 @@
(when (environment-setup?) (when (environment-setup?)
(http/post (str (:mastodon-instance env) "/api/v1/statuses") (http/post (str (:mastodon-instance env) "/api/v1/statuses")
{:form-params {:status text} {:form-params {:status text}
:headers {:authorization (str "Bearer " (:access-token env))}})) :headers {"Authorization" (str "Bearer " (:access-token env))}}))
(log/info text)) (log/info text))
;; defining the command line interface ;; defining the command line interface