File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
driver-sync/src/test/functional/com/mongodb/client/unified Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ private FindIterable<BsonDocument> createFindIterable(final BsonDocument operati
381
381
MongoCollection <BsonDocument > collection = entities .getCollection (operation .getString ("object" ).getValue ());
382
382
BsonDocument arguments = operation .getDocument ("arguments" , new BsonDocument ());
383
383
ClientSession session = getSession (arguments );
384
- BsonDocument filter = arguments .getDocument ("filter" , new BsonDocument () );
384
+ BsonDocument filter = arguments .getDocument ("filter" );
385
385
FindIterable <BsonDocument > iterable = session == null ? collection .find (filter ) : collection .find (session , filter );
386
386
for (Map .Entry <String , BsonValue > cur : arguments .entrySet ()) {
387
387
switch (cur .getKey ()) {
You can’t perform that action at this time.
0 commit comments