perf: replace notIn with equals on booking (#8303)
Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
1 file changed
+1
-1
@@ -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 },
|
||||
|
||||
Reference in new issue
Block a user