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
{{ message }}
This repository was archived by the owner on Mar 20, 2026. It is now read-only.
Is your feature request related to a problem? Please describe.
The elections returned from the /elections/ API lack information on whether a result snapshot has been calculated for that election. The front end compensated by issuing one API /elections/###/resultsSnapshot call for each election. For users with many elections, this can produce a lot of extra web service calls and cause Cloudflare to mistake the user as a DoS attacker and block subsequent requests to the server.
Describe the solution you'd like
Include a boolean "hasResults" attribute in each election returned from the /elections/ API . Once this is present, the UI could be simplified to condition the display of the results link on the new boolean attribute and eliminate the follow-on /resultsSnapshot web service calls.