From eb0af1c1825f757b96d575cb4dc07266d6cd99b0 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 12 Apr 2021 23:07:01 -0400 Subject: [PATCH] fix intervals --- src/intervals/score.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intervals/score.ts b/src/intervals/score.ts index d412490..a3c641e 100644 --- a/src/intervals/score.ts +++ b/src/intervals/score.ts @@ -159,7 +159,7 @@ export default async function calculateScore(client: Client): Promise 0) { - for (const inq of score.inquiries) { + for (const inq of inquiries) { const testDate = (new Date(new Date(inq.date).setHours(1460))); if (testDate > new Date()) other -= 1.65; }