mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 09:49:32 +02:00
Fix getting recently used devices
This commit is contained in:
parent
e6bc3c9a75
commit
919b0e6984
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export async function findOldFamilyIds (database: Database) {
|
|||
[Sequelize.Op.in]: familyIdsWithExpiredLicenses
|
||||
},
|
||||
lastConnectivity: {
|
||||
[Sequelize.Op.lt]: (Date.now() - 1000 * 60 * 60 * 24 * 90 /* 90 days */).toString(10)
|
||||
[Sequelize.Op.gt]: (Date.now() - 1000 * 60 * 60 * 24 * 90 /* 90 days */).toString(10)
|
||||
}
|
||||
},
|
||||
attributes: ['familyId']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue