Fix booking filters not working for admin (#6576)
This commit is contained in:
1 parent
e1c9a8cbfc
commit
fbc27e1d52
1 file changed
+3
-1
@@ -241,7 +241,9 @@ export const bookingsRouter = router({
|
||||
members: {
|
||||
some: {
|
||||
userId: user.id,
|
||||
role: "OWNER",
|
||||
role: {
|
||||
in: ["ADMIN", "OWNER"],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user