Fix P2025
This commit is contained in:
parent
b8a83e6a53
commit
95bdd7e639
|
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user