From a317743ae441fe7dfdc2f1ab6be702dd215973f6 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 7 Mar 2024 12:19:52 +0100 Subject: V2 Config: omitempty CountryCode --- internal/config/v2/v2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') 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 -- cgit v1.2.3