Skip to content

Commit

Permalink
fix: remove unnecessary mongo option
Browse files Browse the repository at this point in the history
Signed-off-by: Ute Weiss <[email protected]>
  • Loading branch information
weissu42 committed Oct 6, 2023
1 parent 327f351 commit 6702f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repository/SchedulesRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class SchedulesRepository extends Repository<ScheduleEntity> {
// concurrent modification, we use a filter to ensure that we only overwrite a dead schedule or ping this schedule
{ $or: [deadSchedule, thisSchedule] },
{ $set: updatedSchedule },
{ ...mongoOptions, upsert: true },
{ upsert: true },
);

return true;
Expand Down

0 comments on commit 6702f29

Please sign in to comment.