Fix P2025

This commit is contained in:
Douglas Barone 2021-10-28 12:34:30 -04:00
parent b8a83e6a53
commit 95bdd7e639

View File

@ -57,7 +57,9 @@ async function forceUserDisconnect(mac) {
await prisma.wifiDevice.update({ await prisma.wifiDevice.update({
where: { mac }, where: { mac },
data: { data: {
userId: null user: {
disconnect: true
}
} }
}) })
} }