Skip to content

Bug: In clanShop voting is not calculated with clan majority #839

@tickBit

Description

@tickBit

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions