cleanup
This commit is contained in:
parent
5c45d91c28
commit
e1768f49e3
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@
|
||||||
(post-status status-text (not-empty ids)))))
|
(post-status status-text (not-empty ids)))))
|
||||||
|
|
||||||
(defn get-mastodon-timeline [callback]
|
(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)]
|
#(let [response (-> % .-data js->edn)]
|
||||||
(if-let [error (:error response)]
|
(if-let [error (:error response)]
|
||||||
(exit-with-error error)
|
(exit-with-error error)
|
||||||
|
|
Reference in a new issue