This commit is contained in:
Louis Mazin 2025-12-09 19:51:54 +01:00
parent ee4e8a9318
commit dd05fb391e

View File

@ -218,10 +218,11 @@ const cleanExpiredCodes = async () => {
const updateLastConnection = async (steamId) => {
const connection = getConnection();
await connection.execute(
const [result] = await connection.execute(
'UPDATE user_links SET lastConnection = NOW() WHERE steam_id = ?',
[steamId]
);
return { success: true, changes: result.affectedRows };
};