We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35ad0e4 commit 2369ed4Copy full SHA for 2369ed4
1 file changed
src/models/eventsFactory.js
@@ -100,7 +100,7 @@ class EventsFactory extends Factory {
100
101
const cursor = this.getCollection(this.TYPES.EVENTS)
102
.find(query)
103
- .sort([['_id', -1]])
+ .sort([ ['_id', -1] ])
104
.limit(limit)
105
.skip(skip);
106
@@ -211,7 +211,7 @@ class EventsFactory extends Factory {
211
...Object.fromEntries(
212
Object
213
.entries(filters)
214
- .map(([mark, exists]) => [`event.marks.${mark}`, { $exists: exists }])
+ .map(([mark, exists]) => [`event.marks.${mark}`, { $exists: exists } ])
215
),
216
},
217
0 commit comments