fedspendingtransparency / usaspending-api

Server application to serve U.S. federal spending data via a RESTful API
https://www.usaspending.gov
Creative Commons Zero v1.0 Universal
309 stars 112 forks source link

[DEV-11525] Update recipient states endpoint [hotfix][staging] #4204

Closed aguest-kc closed 1 month ago

aguest-kc commented 1 month ago

Description: Return all states and set their award count and spending amounts to 0 if no results were found in the previous database query. This is a common case on the first day of a new fiscal year when we don't have any spending for that fiscal year yet.

Technical details:

Requirements for PR merge:

  1. [x] Unit & integration tests updated
  2. [x] Necessary PR reviewers:
    • [x] Backend
  3. [x] Frontend impact assessment completed
  4. [x] Data validation completed
  5. [x] Jira Ticket DEV-11525:
    • [x] Link to this Pull-Request

Area for explaining above N/A when needed:

2. API documentation updated
No API documentation is affected by this change.

4. Matview impact assessment completed
No matviews are affected by this change.

7. Appropriate Operations ticket(s) created
No operations tickets are needed for this change.