Update db-log-addOn.js

This commit is contained in:
Skillet 2023-03-04 11:05:36 -05:00 committed by GitHub
parent 38abd3ba97
commit ea770d9458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ export default class DBLogPlayerTime extends DBLog {
playerOnlineID.push(player.steamID); playerOnlineID.push(player.steamID);
} }
console.log('players online:', playerOnlineID); console.log('players online:', playerOnlineID);
const {ne} = Sequalize.Op; const {ne} = Sequelize.Op;
let rowUpdate = await this.models.PlayerTime.update( let rowUpdate = await this.models.PlayerTime.update(
{ leaveTime: lastServerTime }, { leaveTime: lastServerTime },
{ where: { { where: {