Skip to content

Commit bef9669

Browse files
committed
fix mod
1 parent f39a569 commit bef9669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Clojure-Websockets/src/cljs/birdwatch/tweets.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"adds tweet to tweets-map"
2020
(swap! app
2121
assoc-in [tweets-map (keyword (:id_str tweet))]
22-
(if (zero? (mod (:id tweet)))
22+
(if (zero? (mod (:id tweet) 1000))
2323
tweet
2424
{:created_at (:created_at tweet)
2525
:id_str (:id_str tweet)})))

0 commit comments

Comments
 (0)