Skip to content

Commit

Permalink
Tweeter now added over http
Browse files Browse the repository at this point in the history
  • Loading branch information
johncowie committed Jul 21, 2013
1 parent 5cf2fa8 commit f5a0555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nuotl_twitter/dao.clj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

(defn add-or-update-tweeter [tweeter]
(log/debug (format "Persisting tweeter: %s" tweeter))
(mc/update "tweeter" (select-keys tweeter [:_id]) tweeter :upsert true))
(post-json "tweeters" tweeter))

(defn tweeter-approved? [id]
(= (:approved (get-tweeter id)) "Y"))

0 comments on commit f5a0555

Please sign in to comment.