Removed unused AND
This commit is contained in:
parent
680fb910e2
commit
27b8875604
|
@ -114,9 +114,7 @@ const Query = {
|
|||
|
||||
const usersWithWifiDevices = await prisma.user.findMany({
|
||||
where: {
|
||||
AND: {
|
||||
WifiDevice: { some: { lastSeen: { not: null } } }
|
||||
}
|
||||
},
|
||||
include: { WifiDevice: true }
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user