diff --git a/compose/types/module.go b/compose/types/module.go index 0e8f6a0be..979cd4f17 100644 --- a/compose/types/module.go +++ b/compose/types/module.go @@ -30,7 +30,7 @@ type ( } DataPrivacyConfig struct { - SensitivityLevel uint64 `json:"sensitivityLevel,string"` + SensitivityLevel uint64 `json:"sensitivityLevel,string,omitempty"` UsageDisclosure string `json:"usageDisclosure"` } diff --git a/system/types/dal_connection.go b/system/types/dal_connection.go index c4c8df5ae..256edb3db 100644 --- a/system/types/dal_connection.go +++ b/system/types/dal_connection.go @@ -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:"-"`