fixed typo

This commit is contained in:
dmitri.sotnikov@gmail.com 2020-05-10 17:52:33 -04:00
parent f6bbed3510
commit 121c5f3fc4

View file

@ -156,7 +156,7 @@
{:keys [media]} :extended_entities {:keys [media]} :extended_entities
{:keys [screen_name]} :user :as tweet}] {:keys [screen_name]} :user :as tweet}]
{:created-at (js/Date. created-at) {:created-at (js/Date. created-at)
:text (trim-text (str (chop-tail-media-url text media) (if append-screen-name? ("\n - " screen_name) ""))) :text (trim-text (str (chop-tail-media-url text media) (if append-screen-name? (str "\n - " screen_name) "")))
:media-links (keep #(when (= (:type %) "photo") (:media_url_https %)) media)}) :media-links (keep #(when (= (:type %) "photo") (:media_url_https %)) media)})
(defmulti parse-tumblr-post :type) (defmulti parse-tumblr-post :type)