From 7b667821d2327dfc0b2f4da2ae4b68e5f39f423c Mon Sep 17 00:00:00 2001 From: keyan Date: Mon, 3 Jun 2024 16:34:03 -0500 Subject: [PATCH] fix notification indicator for item mentions --- api/resolvers/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/resolvers/user.js b/api/resolvers/user.js index 4ef83037..b9ab644a 100644 --- a/api/resolvers/user.js +++ b/api/resolvers/user.js @@ -355,7 +355,7 @@ export default { JOIN "Item" "Referee" ON "ItemMention"."refereeId" = "Referee".id JOIN "Item" ON "ItemMention"."referrerId" = "Item".id ${whereClause( - '"ItemMention".created_at < $2', + '"ItemMention".created_at > $2', '"Item"."userId" <> $1', '"Referee"."userId" = $1', await filterClause(me, models),