summaryrefslogtreecommitdiff
path: root/internal/config/v2/v2.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-07 12:19:52 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-07 12:19:52 +0100
commita317743ae441fe7dfdc2f1ab6be702dd215973f6 (patch)
treedc7406995ff9a3cb483070264ea48e57c7066d96 /internal/config/v2/v2.go
parent274a0f55134f42a97e87b93a50e26bb1f14a1299 (diff)
V2 Config: omitempty CountryCode
Diffstat (limited to 'internal/config/v2/v2.go')
-rw-r--r--internal/config/v2/v2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/v2/v2.go b/internal/config/v2/v2.go
index 51f7a5f..4a7bd13 100644
--- a/internal/config/v2/v2.go
+++ b/internal/config/v2/v2.go
@@ -23,7 +23,7 @@ type Server struct {
// CountryCode is the country code for the server in case of secure internet
// Otherwise it is an empty string
- CountryCode string `json:"country_code"`
+ CountryCode string `json:"country_code,omitempty"`
}
// ServerKey is the key type of the server map