Browse files

set-write-concern: correct type in type hint

  • Loading branch information...
1 parent 481b243 commit c1a137f76e0d04fa53b06a3615b570dbc19ab82f @scottjad committed Aug 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/somnium/congomongo.clj
@@ -172,7 +172,7 @@ releases. Please use 'make-connection' in combination with
[connection setting]
(assert (connection? connection))
(assert (contains? (set (keys write-concern-map)) setting))
- (.setWriteConcern ^Mongo (:db connection)
+ (.setWriteConcern ^com.mongodb.DBApiLayer (:db connection)
^com.mongodb.WriteConcern (get write-concern-map setting)))
;; add some convenience fns for manipulating object-ids

0 comments on commit c1a137f

Please sign in to comment.