Fix being able to edit/delete messages only on the websocket end, doesn't affect db

This commit is contained in:
Lncvrt committed 2026-02-01 21:33:51 -07:00
1 parent 64a15390e7
commit a73834a849
2 files changed
+97 -94

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ export async function checkAuthorization (
if (!userData[0]) return { valid: false, id: 0 }
else {
if (updateIp != undefined && updateIp != null && db0 != undefined)
if (updateIp != null)
db0
.update(users)
.set({ latestIp: updateIp })