Skip to content

Commit

Permalink
Merge pull request #735 from marchhq/testing-pr
Browse files Browse the repository at this point in the history
chore: return single item
  • Loading branch information
sajdakabir authored Dec 26, 2024
2 parents d4001b9 + 649c6e3 commit 1a74f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/services/lib/item.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const getInboxItems = async (me) => {
}

const getInboxItem = async (me, id) => {
const items = await Item.find({
const items = await Item.findOne({
user: me,
_id: id,
isArchived: false,
Expand Down

0 comments on commit 1a74f5c

Please sign in to comment.