Skip to content

Commit 64317eb

Browse files
committed
docs: remove "DEPRECATED" warning mistakenly added to read() tags param
Fix #13980
1 parent e6d2fbe commit 64317eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/aggregate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ Aggregate.prototype.unionWith = function(options) {
665665
* await Model.aggregate(pipeline).read('primaryPreferred');
666666
*
667667
* @param {String|ReadPreference} pref one of the listed preference options or their aliases
668-
* @param {Array} [tags] optional tags for this query. DEPRECATED
668+
* @param {Array} [tags] optional tags for this query.
669669
* @return {Aggregate} this
670670
* @api public
671671
* @see mongodb https://www.mongodb.com/docs/manual/applications/replication/#read-preference

0 commit comments

Comments
 (0)