Skip to content

Commit fbe16a4

Browse files
fix: make query on exceptions during timespan more inclusive
1 parent 2eba553 commit fbe16a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/infra/.sqlx/query-b01c514da6037175c6d6c4c0c2ffedd0b23035fabf4b8c4900c187880ad44e7e.json renamed to crates/infra/.sqlx/query-2640e941531679aaf3d7e3de525c84a46bb93521b8a4d139a2c1528e56c96119.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/infra/src/repos/event/calendar_event/postgres.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ impl IEventRepo for PostgresEventRepo {
462462
(
463463
(e.original_start_time >= $2 AND e.original_start_time <= $3)
464464
OR
465-
(e.start_time >= $2 AND e.start_time <= $3)
465+
(e.start_time <= $3 AND e.end_time >= $2)
466466
)
467467
"#,
468468
&recurring_event_ids as &[Uuid],

0 commit comments

Comments
 (0)