You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The background job currently looks at the Start Date to determine whether a new award for a tracked recipient is new.
This thinking is flawed and should actually check against the list of saved IDs in the Awards table of the database under the column usaSpendingAwardId. This way if a new id is seen it will then get shown to the slack channel accordingly.
line 22 of background-jobs/check-latest-awards.ts needs updating to pull only all the award IDs and the UEI of the recpient used for searching.
line 37 onwards in the same file until line 52 needds to be replaced with new logic to check against ids in.
The text was updated successfully, but these errors were encountered:
The background job currently looks at the
Start Date
to determine whether a new award for a tracked recipient is new.This thinking is flawed and should actually check against the list of saved IDs in the Awards table of the database under the column
usaSpendingAwardId
. This way if a new id is seen it will then get shown to the slack channel accordingly.line 22 of
background-jobs/check-latest-awards.ts
needs updating to pull only all the award IDs and the UEI of the recpient used for searching.line 37 onwards in the same file until line 52 needds to be replaced with new logic to check against ids in.
The text was updated successfully, but these errors were encountered: