From e1768f49e3c9b727b05e5a8f0e2746b2f5c8622a Mon Sep 17 00:00:00 2001 From: "dmitri.sotnikov@gmail.com" Date: Wed, 13 Feb 2019 11:46:12 -0500 Subject: [PATCH] cleanup --- mastodon-bot.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon-bot.cljs b/mastodon-bot.cljs index 6cfa7ed..45ba57d 100755 --- a/mastodon-bot.cljs +++ b/mastodon-bot.cljs @@ -119,7 +119,7 @@ (post-status status-text (not-empty ids))))) (defn get-mastodon-timeline [callback] - (.then (.get mastodon-client (string/join "" ["accounts/" (:account-id mastodon-config) "/statuses"]) #js {}) + (.then (.get mastodon-client (str "accounts/" (:account-id mastodon-config)"/statuses") #js {}) #(let [response (-> % .-data js->edn)] (if-let [error (:error response)] (exit-with-error error)