Make sensitivity level property undefined by default

This commit is contained in:
Jože Fortun
2022-07-15 15:28:48 +02:00
parent 85bb86c5cd
commit 163f04bc6e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ type (
}
DataPrivacyConfig struct {
SensitivityLevel uint64 `json:"sensitivityLevel,string"`
SensitivityLevel uint64 `json:"sensitivityLevel,string,omitempty"`
UsageDisclosure string `json:"usageDisclosure"`
}
+1 -1
View File
@@ -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:"-"`