Skip to content

Unable to Set a Counter to Zero. #51

@dorkb0t

Description

@dorkb0t

When trying to set a counter to Zero I get the following message.

https://api.counterapi.dev/v1/test/test/set?count=0

{
"code": 400,
"message": "Key: 'SetQuery.Count' Error:Field validation for 'Count' failed on the 'required' tag"
}

I do not have an issue setting a count to 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions