Only expose sessions data in debug mode, otherwise return just a count of sessions
This commit is contained in:
@@ -15,8 +15,8 @@ import (
|
||||
|
||||
type Client struct {
|
||||
db *sqlx.DB
|
||||
History []history.Record
|
||||
ConnectionString string
|
||||
History []history.Record `json:"history"`
|
||||
ConnectionString string `json:"connection_string"`
|
||||
}
|
||||
|
||||
// Struct to hold table rows browsing options
|
||||
|
||||
Reference in New Issue
Block a user