File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ module.exports.makeLegacyFindCursor = function (baseClass) {
3636 : undefined ;
3737 options = typeof options !== 'function' ? options : undefined ;
3838 verbosity = typeof verbosity !== 'function' ? verbosity : undefined ;
39- return maybeCallback ( super . explain ( ... arguments ) , callback ) ;
39+ return maybeCallback ( super . explain ( verbosity , options ) , callback ) ;
4040 }
4141
4242 close ( options , callback ) {
@@ -194,7 +194,7 @@ module.exports.makeLegacyAggregationCursor = function (baseClass) {
194194 : undefined ;
195195 options = typeof options !== 'function' ? options : undefined ;
196196 verbosity = typeof verbosity !== 'function' ? verbosity : undefined ;
197- return maybeCallback ( super . explain ( ... arguments ) , callback ) ;
197+ return maybeCallback ( super . explain ( verbosity , options ) , callback ) ;
198198 }
199199
200200 close ( options , callback ) {
You can’t perform that action at this time.
0 commit comments