summaryrefslogtreecommitdiff
path: root/client/server.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-01-03 12:37:00 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2023-01-03 12:37:00 +0100
commit8e7a25eacf715d7d83a8f10c84b03c68ea04a871 (patch)
tree06b760a15b873e935be726bd324daa2e06e32d18 /client/server.go
parentf654160956728bc0ce92ed420540388869405513 (diff)
Discovery: Remove server type from getting by country code
It's always secure internet, no need to pass it as an argument
Diffstat (limited to 'client/server.go')
-rw-r--r--client/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/server.go b/client/server.go
index 32b7687..bf4ad6a 100644
--- a/client/server.go
+++ b/client/server.go
@@ -105,7 +105,7 @@ func (c *Client) SetSecureLocation(countryCode string) error {
return err
}
- srv, err := c.Discovery.ServerByCountryCode(countryCode, "secure_internet")
+ srv, err := c.Discovery.ServerByCountryCode(countryCode)
if err != nil {
c.goBackInternal()
c.logError(err)