Skip to content

Commit

Permalink
Fix db query
Browse files Browse the repository at this point in the history
  • Loading branch information
blazer82 committed Jun 21, 2024
1 parent 10720aa commit 1abb1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/mail/oldaccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default class OldAccounts extends Command {
const credentialSet = new Set(credentialList.map(({user}) => user));

usersQuery['_id'] = {
$in: credentialSet,
$in: Array.from(credentialSet),
isActive: true,
emailVerified: true,
oldAccountDeletionNoticeSent: {$ne: true},
Expand Down

0 comments on commit 1abb1af

Please sign in to comment.