Skip to content

Commit

Permalink
add unsubscribe email to query
Browse files Browse the repository at this point in the history
  • Loading branch information
SamratSahoo committed Nov 15, 2024
1 parent 0aefe60 commit 177aa72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hours-email-reminder/send-hour-email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ async function getUsersPaginated(
$nin: handlers.map((item) => item.handler),
},
verifiedByAdmin: true,
unsubscribeEmail: false
};

const users = await UserModel.find(query, null, { sort: { _id: 1 } }).limit(
Expand Down

0 comments on commit 177aa72

Please sign in to comment.