Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
masimons committed Oct 11, 2024
1 parent 5723c67 commit b28f30d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/server/src/lib/grants-ingest.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,7 @@ function mapSourceDataToGrant(source) {
} else if (today.isSameOrAfter(moment(grant.close_date), 'date')) {
grant.opportunity_status = 'closed';
} else if (today.isBefore(moment(grant.open_date), 'date')) {
// depending on how we model the estimated open date, we may need to do the
// date comparison with the new field for estimated date
grant.opportunity_status = 'forecasted';
// Note: in the knex query, we are deriving the status based on
// archive_date and close_date. Probably we just want to pass
// the opportunity_status to the frontend, and not re-derive it here?
} else {
grant.opportunity_status = 'posted';
}
Expand Down

0 comments on commit b28f30d

Please sign in to comment.