summaryrefslogtreecommitdiff
path: root/types/server
diff options
context:
space:
mode:
Diffstat (limited to 'types/server')
-rw-r--r--types/server/server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/types/server/server.go b/types/server/server.go
index bfed638..4e54987 100644
--- a/types/server/server.go
+++ b/types/server/server.go
@@ -124,7 +124,7 @@ type Institute struct {
// Server is the embedded server struct
Server
// SupportContacts are the list of support contacts
- SupportContacts []string `json:"support_contacts"`
+ SupportContacts []string `json:"support_contacts,omitempty"`
// Delisted is a boolean that indicates whether or not this server is delisted from discovery
// If it is, the UI should show a warning symbol or move the server to a new category, which is up to the client
Delisted bool `json:"delisted"`
@@ -137,9 +137,9 @@ type SecureInternet struct {
// CountryCode is the country code of the currently configured location, e.g. "nl"
CountryCode string `json:"country_code"`
// Locations is the list of available secure internet locations
- Locations []string `json:"locations"`
+ Locations []string `json:"locations,omitempty"`
// SupportContacts are the list of support contacts
- SupportContacts []string `json:"support_contacts"`
+ SupportContacts []string `json:"support_contacts,omitempty"`
// Delisted is a boolean that indicates whether or not this server is delisted from discovery
// If it is, the UI should show a warning symbol or move the server to a new category, which is up to the client
Delisted bool `json:"delisted"`