Skip to content

Commit

Permalink
fix(AggregationCursor): adding session tracking to AggregationCursor
Browse files Browse the repository at this point in the history
The session was not stored on the state of the AggregationCursor, so we
are adding it on here.
  • Loading branch information
daprahamian authored and mbroadst committed Mar 19, 2018
1 parent 3f60625 commit baca5b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/aggregation_cursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ var AggregationCursor = function(bson, ns, cmd, options, topology, topologyOptio
// Topology Options
topologyOptions: topologyOptions,
// Promise library
promiseLibrary: promiseLibrary
promiseLibrary: promiseLibrary,
// Optional ClientSession
session: options.session
};
};

Expand Down

0 comments on commit baca5b7

Please sign in to comment.