Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

GDPR wrong omitempty  #121

@SlavaVV

Description

@SlavaVV

GDPR int `json:"gdpr,omitempty" // Flag that indicates whether or not the request is subject to GDPR regulations 0 = No, 1 = Yes, omission indicates Unknown

But marshaller converts {gdpr: 0} into "{}" string. Thus should be:
GDPR int `json:"gdpr"

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