From b9ab4b4f1463c1fdc4de0202252aa717273a90d5 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Wed, 17 Aug 2022 12:11:02 -0600 Subject: [PATCH] Change sign --- functions/src/weekly-markets-emails.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/src/weekly-markets-emails.ts b/functions/src/weekly-markets-emails.ts index 6440a01c..0cad16f8 100644 --- a/functions/src/weekly-markets-emails.ts +++ b/functions/src/weekly-markets-emails.ts @@ -22,7 +22,7 @@ async function getTrendingContracts() { firestore .collection('contracts') .where('isResolved', '==', false) - .where('closeTime', '>', Date.now() - DAY_MS) + .where('closeTime', '>', Date.now() + DAY_MS) .where('visibility', '==', 'public') .orderBy('popularityScore', 'desc') .limit(50)