mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
Merge pull request #3496 from overleaf/ae-eslint-dot-notation
Enable the eslint dot-notation rule GitOrigin-RevId: e11cbad3e8a77a4a60590d3674fbf34feccc5bc9
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user