Fix previous commit

This commit is contained in:
Anders Pitman 2021-12-21 13:59:55 -07:00
parent 0934799ccd
commit 811f25ce3e

View File

@ -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) {