Skip to content

Commit 253aa6d

Browse files
committed
fix(NODE-3924): revert unintended change
1 parent b1d4e51 commit 253aa6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operations/find_and_modify.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class FindAndModifyOperation extends CommandCallbackOperation<Document> {
142142
upsert: false
143143
};
144144

145-
options.includeResultMetadata ??= false;
145+
options.includeResultMetadata ??= true;
146146

147147
const sort = formatSort(options.sort);
148148
if (sort) {

0 commit comments

Comments
 (0)