-
Notifications
You must be signed in to change notification settings - Fork 6
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
bug: maxCensusSize is always undefined #235
Labels
bug
Something isn't working
Comments
Looks like the issue is that it is being expected via
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
PublishedElection has a
maxCensusSize
getter that should return the information received viacensus.maxCensusSize
field in the API, but it's always undefined.To Reproduce
Grab any election information, and try to access the value via
election.maxCensusSize
Current behavior
Returns undefined
Expected behavior
Should return the expected maxCensusSize value the API is properly returning.
Additional context
API response:
![imatge](https://private-user-images.githubusercontent.com/153305/258408742-e4d7144d-2ad5-4e0b-ab6a-2711f7227332.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MDU3MDksIm5iZiI6MTczOTkwNTQwOSwicGF0aCI6Ii8xNTMzMDUvMjU4NDA4NzQyLWU0ZDcxNDRkLTJhZDUtNGUwYi1hYjZhLTI3MTFmNzIyNzMzMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxOFQxOTAzMjlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01N2FmZjFmODdiNDc4NTkyYTAzYzAwMTJhMGIwMGQyN2NlZDE5MzFlOGJjNTVkODViOGJlOTEwZTk0ZDY0OWVmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.zpsxLdk7bUEkERDF1bJZ6Jsno9UwC95DRKs9ld_owXc)
Stored published election data in memory:
![imatge](https://private-user-images.githubusercontent.com/153305/258408815-0a6acc90-e713-421e-8214-5fcbebc44cd7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MDU3MDksIm5iZiI6MTczOTkwNTQwOSwicGF0aCI6Ii8xNTMzMDUvMjU4NDA4ODE1LTBhNmFjYzkwLWU3MTMtNDIxZS04MjE0LTVmY2JlYmM0NGNkNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxOFQxOTAzMjlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02YmJmNDUzNmEyZTY4NDVkOTAyMWI4NmJlY2IzNTQxODIxYzNlNzU1NThhYzY1YTJhYWM4YjBhY2M1NmNhMjlkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.W-kZz872IvYYJe1tfFKdJLXYU4FEDbbeQo42zBoYK94)
The text was updated successfully, but these errors were encountered: