Skip to content

Commit

Permalink
Merge branch 'vkarpov15/gh-14698-2' of github.com:Automattic/mongoose…
Browse files Browse the repository at this point in the history
… into vkarpov15/gh-14698-2
  • Loading branch information
vkarpov15 committed Oct 9, 2024
2 parents c52041b + da75251 commit cce41a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/document/applyTimestamps.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function applyTimestampsToChildren(schema, res, options) {
* Apply timestamps to a given document. Does not apply timestamps to subdocuments: use `applyTimestampsToChildren` instead
*
* @param {Schema} schema
* @param {Object} doc
* @param {Object} obj
* @param {Object} [options]
* @param {Boolean} [options.isUpdate=false] if true, treat this as an update: just set updatedAt, skip setting createdAt. If false, set both createdAt and updatedAt
* @param {Function} [options.currentTime] if set, Mongoose will call this function to get the current time.
Expand Down

0 comments on commit cce41a5

Please sign in to comment.