lexicongovernance / pluraltools-backend

Backend implementation of the plural voting tool.
https://demo.lexicongovernance.org/
GNU General Public License v3.0
3 stars 1 forks source link

Avoid vote score exposure through the api #368

Closed MartinBenediktBusch closed 3 months ago

MartinBenediktBusch commented 3 months ago

This PR modifies the getOptionHandler by excluding the vote score from being queries. Therefore, the vote score will not show up anymore as part of the network request in addition to not displaying it in the UI. However, merging this PR requires to update the option type in the frontend.