perf: replace `notIn` with `equals` on booking (#8303)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
pull/8311/head
Yagiz Nizipli 2023-04-17 15:54:14 -04:00 committed by GitHub
parent da3ee3f1fe
commit b5c993e153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ export const bookingsRouter = router({
OR: [
{
recurringEventId: { not: null },
status: { notIn: [BookingStatus.PENDING, BookingStatus.CANCELLED, BookingStatus.REJECTED] },
status: { equals: BookingStatus.ACCEPTED },
},
{
recurringEventId: { equals: null },