From 811f25ce3e091feff260f1ea0fb8f9808a4f2c27 Mon Sep 17 00:00:00 2001 From: Anders Pitman Date: Tue, 21 Dec 2021 13:59:55 -0700 Subject: [PATCH] Fix previous commit --- database.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/database.go b/database.go index 4de430e..213c96b 100644 --- a/database.go +++ b/database.go @@ -51,14 +51,14 @@ type Tunnel struct { ClientAddress string `json:"client_address"` ClientPort int `json:"client_port"` AllowExternalTcp bool `json:"allow_external_tcp"` + TlsTermination string `json:"tls_termination"` - // TODO: These are not used by clients and shouldn't be returned in - // API calls. - Owner string `json:"owner"` - ClientName string `json:"client_name"` - AuthUsername string `json:"auth_username"` - AuthPassword string `json:"auth_password"` - TlsTermination string `json:"tls_termination"` + // TODO: These are not used by clients and possibly shouldn't be + // returned in API calls. + Owner string `json:"owner"` + ClientName string `json:"client_name"` + AuthUsername string `json:"auth_username"` + AuthPassword string `json:"auth_password"` } func NewDatabase() (*Database, error) {