Skip to content

Commit

Permalink
Fixed wrong connection reference in heroku auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoldar committed Dec 27, 2012
1 parent 6c9112c commit 6391ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librarian_clojure/db.clj
Expand Up @@ -7,7 +7,7 @@
(if (= env :heroku)
(let [conn (make-connection :app2623043 {:host "staff.mongohq.com" :port 10056})]
(println "Database URL: " (System/getenv "DATABASE_URL"))
(println "Authentication result: " (authenticate *database-connection* "heroku" "passw0rd"))
(println "Authentication result: " (authenticate conn "heroku" "passw0rd"))
(set-connection! conn))
(set-connection! (make-connection :test {:host "127.0.0.1" :port 27017}))))

Expand Down

0 comments on commit 6391ce9

Please sign in to comment.