We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1111ae2 commit f463240Copy full SHA for f463240
lib/helpers/model/castBulkWrite.js
@@ -70,7 +70,7 @@ module.exports = function castBulkWrite(originalModel, op, options) {
70
_addDiscriminatorToObject(schema, op['updateOne']['filter']);
71
72
const doInitTimestamps = getTimestampsOpt(op['updateOne'], options);
73
-
+
74
if (model.schema.$timestamps != null && doInitTimestamps) {
75
const createdAt = model.schema.$timestamps.createdAt;
76
const updatedAt = model.schema.$timestamps.updatedAt;
0 commit comments