Skip to content

Commit

Permalink
Merge pull request #557 from marchhq/fix/today
Browse files Browse the repository at this point in the history
fixed: getting deleted item
  • Loading branch information
sajdakabir authored Nov 6, 2024
2 parents f3f7d5d + d1abec6 commit d8ade63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/backend/src/services/lib/item.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ const getUserItemsByDate = async (me, date) => {
const items = await Item.find({
user: me,
isArchived: false,
isDeleted: false,
$or: [
{ dueDate: { $gte: startOfDay, $lte: endOfDay } },
{ completedAt: { $gte: startOfDay, $lte: endOfDay } }
Expand Down

0 comments on commit d8ade63

Please sign in to comment.