Update monger connect-via-uri call for lib changes
This commit is contained in:
parent
3f687afb4b
commit
e79051f991
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@
|
|||
(defn connect! [db-name mongo-url]
|
||||
(if mongo-url
|
||||
(do (println "Connected to mongo via url:" mongo-url)
|
||||
(m/connect-via-uri mongo-url))
|
||||
(:conn (m/connect-via-uri mongo-url)))
|
||||
(do (println "Connected to mongo at localhost:" db-name)
|
||||
(m/connect))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue