Skip to content

Is there any way to update a match as a tie? #20

@InklingOnFire

Description

@InklingOnFire

I'm currently working on a bot for a league system where, on some occasions, a tie is possible (in a round robin).
However, i can only provide a Long for MatchQueryBuilder#winnerId, but the Challonge API insists on having a String of "tie" as winnerId (if a tie occurs.)
Leaving the winnersId null or 0L will leave the match open and inputting something else than the participant's IDs will throw a DataAccessException.

I was looking in every Java file involved for some clues, but to no avail.
Is there any way to update a match as a tie?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions