Delete findConflictingEvents, which never returned a row

Fixkamo-shared-library
Shipped
August 26, 2026 at 6:22 AM UTC
Author
Kamo
Commit
9dc9415

Four independent defects, any one of which emptied the result set: it filtered e.user.id while both callers pass a member id and the two columns never coincide; e.id != :excludeEventId is UNKNOWN when the parameter is null, which is every new event; e.status != 'cancelled' dropped NULL-status rows the same way; and it had no isActive filter. It also missed meetings other people booked the member into. findBusyForMemberInRange already answers this correctly and now has both callers.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing