From df2998d3dbced4c520540693c384b6c85348977a Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 18 Jun 2024 16:23:30 +0200 Subject: [PATCH] Fix reward list --- apps/api/src/app/services/RewardService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/app/services/RewardService.ts b/apps/api/src/app/services/RewardService.ts index e5bf63683..0fca1a797 100644 --- a/apps/api/src/app/services/RewardService.ts +++ b/apps/api/src/app/services/RewardService.ts @@ -56,6 +56,7 @@ export default class RewardService { { expiryDate: { $exists: true, $gte: new Date() } }, // Include quests with no expiryDate { expiryDate: { $exists: false } }, + { expiryDate: null }, ], }); return await Promise.all(