Skip to content

Cannot create a point value of 0 #162

@jimender2

Description

@jimender2

If I have a challenge that I want to have with a value of 0, I get an error saying 'Challenge does not provide a value'

I think this is the offending line and there should be an extra bit of logic to check if the value is 0 or not. Temp solved this by setting values = 1 for the challenges but I dont like that solution.

if not challenge.get("value", False) and challenge.get("type", "standard") != "dynamic":

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions