From 86de0007b8d79419099291585fe8cde88235bdf9 Mon Sep 17 00:00:00 2001 From: Andrew Hyndman Date: Tue, 23 Jan 2024 16:14:19 -0500 Subject: [PATCH] =?UTF-8?q?ARPA=20subrecipients=20=E2=80=94=20invert=20nul?= =?UTF-8?q?l=20check=20typo=20(#2490)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Andrew Hyndman --- packages/server/src/arpa_reporter/db/arpa-subrecipients.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/arpa_reporter/db/arpa-subrecipients.js b/packages/server/src/arpa_reporter/db/arpa-subrecipients.js index 3b394f365..03b823809 100644 --- a/packages/server/src/arpa_reporter/db/arpa-subrecipients.js +++ b/packages/server/src/arpa_reporter/db/arpa-subrecipients.js @@ -93,7 +93,7 @@ async function listRecipients(trns = knex) { } async function listRecipientsForReportingPeriod(periodId, trns = knex) { - return baseQuery(trns).where('reporting_period_id', periodId).whereNotNull('archived_at'); + return baseQuery(trns).where('reporting_period_id', periodId).whereNull('archived_at'); } module.exports = {