diff --git a/packages/server/src/lib/grants-ingest.js b/packages/server/src/lib/grants-ingest.js index 2b216368c..14ed7cabf 100644 --- a/packages/server/src/lib/grants-ingest.js +++ b/packages/server/src/lib/grants-ingest.js @@ -50,9 +50,9 @@ function mapSourceDataToGrant(source) { grant.open_date = milestones.post_date; grant.close_date = milestones.close && milestones.close.date ? milestones.close.date : '2100-01-01'; + grant.archive_date = milestones.archive_date; const today = moment().startOf('day'); if (milestones.archive_date && today.isSameOrAfter(moment(milestones.archive_date), 'date')) { - grant.archive_date = milestones.archive_date; grant.opportunity_status = 'archived'; } else if (today.isSameOrAfter(moment(grant.close_date), 'date')) { grant.opportunity_status = 'closed';