Merge pull request #3496 from overleaf/ae-eslint-dot-notation

Enable the eslint dot-notation rule

GitOrigin-RevId: e11cbad3e8a77a4a60590d3674fbf34feccc5bc9
This commit is contained in:
Alasdair Smith
2020-12-17 03:07:31 +00:00
committed by Copybot
parent 2ff1cf43d6
commit 7cbf2cdd9e
25 changed files with 66 additions and 72 deletions
@@ -10,7 +10,7 @@ if (process.env.BATCH_LAST_ID) {
async function getNextBatch(collection, query, maxId, projection) {
maxId = maxId || BATCH_LAST_ID
if (maxId) {
query['_id'] = { $gt: maxId }
query._id = { $gt: maxId }
}
const entries = await collection
.find(query)