Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy does not comply with JSON #189

Open
MeKHell opened this issue Feb 18, 2025 · 1 comment
Open

Proxy does not comply with JSON #189

MeKHell opened this issue Feb 18, 2025 · 1 comment
Assignees

Comments

@MeKHell
Copy link
Collaborator

MeKHell commented Feb 18, 2025

Issue:
The "/evoting/adminlist" endpoint of the API exposed by the proxy returns something which does not comply with JSON standards:
It is neither an array nor an object.
In order to be easily parsed by JSON libraries, it would be way better if it was complying with these standards

Fix:

I think creating a trivial object with a single key-value pair as it is done on the "/evoting/forms" endpoint is the best idea.

@MeKHell MeKHell self-assigned this Feb 18, 2025
@MeKHell
Copy link
Collaborator Author

MeKHell commented Feb 18, 2025

This is required to correctly solve #175.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant