Make sensitivity level property undefined by default
This commit is contained in:
@@ -30,7 +30,7 @@ type (
|
||||
}
|
||||
|
||||
DataPrivacyConfig struct {
|
||||
SensitivityLevel uint64 `json:"sensitivityLevel,string"`
|
||||
SensitivityLevel uint64 `json:"sensitivityLevel,string,omitempty"`
|
||||
UsageDisclosure string `json:"usageDisclosure"`
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ type (
|
||||
|
||||
Location geolocation.Full `json:"location"`
|
||||
Ownership string `json:"ownership"`
|
||||
SensitivityLevel uint64 `json:"sensitivityLevel,string"`
|
||||
SensitivityLevel uint64 `json:"sensitivityLevel,string,omitempty"`
|
||||
|
||||
Issues []string `json:"issues,omitempty" db:"-"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user