fix: improve getAllUserBooking filter by teamIds (#18171)
* fix: improve getAllUserBooking filted by teamIds * fixup! fix: improve getAllUserBooking filted by teamIds
This commit is contained in:
@@ -80,21 +80,13 @@ export async function getBookings({
|
||||
OR: [
|
||||
{
|
||||
eventType: {
|
||||
team: {
|
||||
id: {
|
||||
in: filters.teamIds,
|
||||
},
|
||||
},
|
||||
teamId: { in: filters.teamIds },
|
||||
},
|
||||
},
|
||||
{
|
||||
eventType: {
|
||||
parent: {
|
||||
team: {
|
||||
id: {
|
||||
in: filters.teamIds,
|
||||
},
|
||||
},
|
||||
teamId: { in: filters.teamIds },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user