What doesn't work?
In the case of shop purchases, the current voting system operates based on a majority of the votes cast, not on a majority of the entire clan.
What is the endpoint and method? (if applicable)
Endpoint:
Requires many endpoints regarding /clan-shop to be tested
Method:
Requires many methods
How can it be reproduced?
In the current implementation the voting result is calculated with voting majority only, not with clan majority.
So, one voter can get 100 % majority.
What should it do instead?
The voting result should be decided with clan majority.
Anything else you want to add?
This is very simple bug to fix: Adding true with parameters does it.
What doesn't work?
In the case of shop purchases, the current voting system operates based on a majority of the votes cast, not on a majority of the entire clan.
What is the endpoint and method? (if applicable)
Endpoint:
Requires many endpoints regarding /clan-shop to be tested
Method:
Requires many methods
How can it be reproduced?
In the current implementation the voting result is calculated with voting majority only, not with clan majority.
So, one voter can get 100 % majority.
What should it do instead?
The voting result should be decided with clan majority.
Anything else you want to add?
This is very simple bug to fix: Adding
truewith parameters does it.