Election-Tech-Initiative / electionguard-api-python

ElectionGuard Web API in python to demonstrate usage of electionguard-python in performing ballot encryption, casting, spoiling, and tallying.
https://www.electionguard.vote/
MIT License
36 stars 26 forks source link

🐛 #192 - Guardian 404 #193

Closed lprichar closed 2 years ago

lprichar commented 2 years ago

Issue

Fixes #192

Description

Primarily fixes the 404 errors with fetching guardians as described in the ticket. Additionally:

This PR felt sufficiently small that I thought it would be ok to fit in the prior 6 small issues into one PR rather than creating a bunch of issues, but I can break out into separate PR's if desired.

Testing

  1. POST to {{guardian-url}}/api/{{version}}/guardian with "guardian_id": "guardian_1" to create a guardian
  2. GET {{guardian-url}}/api/{{version}}/guardian?guardian_id=guardian_1

It should now return a 200

lgtm-com[bot] commented 2 years ago

This pull request introduces 1 alert when merging e6223fe3d51ea7b5643cb4225c069028cdabc629 into ff32ddfc184585e586f935c0d24c340fb64e6dd5 - view on LGTM.com

new alerts: