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)