fix(mobile): scan log incorrect user ref

This commit is contained in:
2026-05-27 20:53:07 -05:00
parent 8b076949a7
commit 9c0ef1f5df

View File

@@ -13,7 +13,7 @@ router.post("/", async (req, res) => {
await db
.update(scanUser)
.set({ lastScan: sql`NOW()` })
.where(eq(scanUser.name, body.name));
.where(eq(scanUser.name, body.user));
} catch (error) {
console.log(error);
}