Skip to content

Commit

Permalink
ARPA subrecipients — invert null check typo (#2490)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Hyndman <[email protected]>
  • Loading branch information
ajhyndman and Andrew Hyndman authored Jan 23, 2024
1 parent 1879d17 commit 86de000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/arpa_reporter/db/arpa-subrecipients.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 86de000

Please sign in to comment.