Skip to content

Commit e478c93

Browse files
committed
unwnd
1 parent db61825 commit e478c93

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/models/eventsFactory.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,10 @@ class EventsFactory extends Factory {
337337
$unwind: '$event',
338338
},
339339
{
340-
$unwind: '$repetition',
340+
$unwind: {
341+
path: '$repetition',
342+
preserveNullAndEmptyArrays: true,
343+
},
341344
},
342345
{
343346
$match: {

0 commit comments

Comments
 (0)