Removed unused AND

This commit is contained in:
Douglas Barone 2020-11-07 09:16:43 -04:00
parent 680fb910e2
commit 27b8875604

View File

@ -114,9 +114,7 @@ const Query = {
const usersWithWifiDevices = await prisma.user.findMany({
where: {
AND: {
WifiDevice: { some: { lastSeen: { not: null } } }
}
},
include: { WifiDevice: true }
})