Update main.js
This commit is contained in:
parent
6bf356e135
commit
156e2ec79e
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -56,7 +56,7 @@ async function main() {
|
|||
const usersToDelete = users.filter(user => {
|
||||
const createdAt = new Date(user.createdAt);
|
||||
const updatedAt = new Date(user.updatedAt);
|
||||
const excludedUsers = ['instance.actor', 'relay.actor']
|
||||
const excludedUsers = ['instance.actor', 'relay.actor'];
|
||||
return user.notesCount === 0 &&
|
||||
createdAt < fiveDaysAgo &&
|
||||
updatedAt < fiveDaysAgo &&
|
||||
|
|
Loading…
Reference in a new issue