summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/api/api_test.go2
-rw-r--r--internal/api/profiles/profiles.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/api_test.go b/internal/api/api_test.go
index 5034465..2170743 100644
--- a/internal/api/api_test.go
+++ b/internal/api/api_test.go
@@ -292,7 +292,7 @@ func TestAPIInfo(t *testing.T) {
ID: "test1",
DisplayName: "test profile 1",
VPNProtoList: []string{"openvpn", "wireguard"},
- Priority: 3,
+ Priority: 3,
DefaultGateway: false,
},
},
diff --git a/internal/api/profiles/profiles.go b/internal/api/profiles/profiles.go
index e835ffe..77109f1 100644
--- a/internal/api/profiles/profiles.go
+++ b/internal/api/profiles/profiles.go
@@ -112,7 +112,7 @@ func (i Info) Public() server.Profiles {
"en": p.DisplayName,
},
DefaultGateway: p.DefaultGateway,
- Priority: p.Priority,
+ Priority: p.Priority,
}
}
return server.Profiles{Map: m}