test
This commit is contained in:
parent
ee4e8a9318
commit
dd05fb391e
@ -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 };
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user