mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
BUG FIX: archived cards still sent out notification
This commit is contained in:
parent
a37723f8a4
commit
8d7714760c
1 changed files with 1 additions and 0 deletions
|
@ -1558,6 +1558,7 @@ function cardRemover(userId, doc) {
|
|||
const findDueCards = days => {
|
||||
const seekDue = ($from, $to, activityType) => {
|
||||
Cards.find({
|
||||
archived: false,
|
||||
dueAt: { $gte: $from, $lt: $to },
|
||||
}).forEach(card => {
|
||||
const username = Users.findOne(card.userId).username;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue