mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-09 00:59:02 +02:00
Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5" GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
This commit is contained in:
@@ -25,12 +25,12 @@ module.exports = {
|
||||
|
||||
const conditions = {
|
||||
_id: projectId,
|
||||
lastUpdated: { $lt: lastUpdatedAt }
|
||||
lastUpdated: { $lt: lastUpdatedAt },
|
||||
}
|
||||
|
||||
const update = {
|
||||
lastUpdated: lastUpdatedAt || new Date().getTime(),
|
||||
lastUpdatedBy
|
||||
lastUpdatedBy,
|
||||
}
|
||||
return Project.updateOne(conditions, update, {}, callback)
|
||||
},
|
||||
@@ -63,5 +63,5 @@ module.exports = {
|
||||
return callback()
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user