From 3f633a1403e64112a39cf483573952f936beb711 Mon Sep 17 00:00:00 2001 From: arne Date: Sat, 6 Jan 2024 11:17:16 +0100 Subject: [PATCH] Fix POST request --- src/computersandblues/frantisek_kafka/samsa.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/computersandblues/frantisek_kafka/samsa.clj b/src/computersandblues/frantisek_kafka/samsa.clj index 86f7303..8f8b1ff 100644 --- a/src/computersandblues/frantisek_kafka/samsa.clj +++ b/src/computersandblues/frantisek_kafka/samsa.clj @@ -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