Skip to content

Commit d009928

Browse files
committed
fix get repetitions by repetition
1 parent cb54d3a commit d009928

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/models/eventsFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ class EventsFactory extends Factory {
435435

436436
eventOriginal = await this.getCollection(this.TYPES.EVENTS)
437437
.findOne({
438-
_id: repetition.eventId,
438+
groupHash: repetition.groupHash,
439439
});
440440
}
441441

0 commit comments

Comments
 (0)