summaryrefslogtreecommitdiff
path: root/internal/server
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-19 15:52:05 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-19 15:52:05 +0200
commitf1a265190d8fd862bfff680fd0937a7f99759955 (patch)
tree63dadf02f4a173587ef24f215cfb001207c9ecec /internal/server
parente78ab789220eb885985067457e1294488ac09ebc (diff)
Discovery + Server: Remove unused 'Raw' strings
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/api.go1
-rw-r--r--internal/server/common.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/internal/server/api.go b/internal/server/api.go
index 0808c41..05d2528 100644
--- a/internal/server/api.go
+++ b/internal/server/api.go
@@ -127,7 +127,6 @@ func APIInfo(server Server) error {
previousProfile := base.Profiles.Current
base.Profiles = structure
base.Profiles.Current = previousProfile
- base.ProfilesRaw = string(body)
return nil
}
diff --git a/internal/server/common.go b/internal/server/common.go
index 37f9bf2..bf72bc6 100644
--- a/internal/server/common.go
+++ b/internal/server/common.go
@@ -17,7 +17,6 @@ type ServerBase struct {
SupportContact []string `json:"support_contact"`
Endpoints ServerEndpoints `json:"endpoints"`
Profiles ServerProfileInfo `json:"profiles"`
- ProfilesRaw string `json:"profiles_raw"`
StartTime time.Time `json:"start_time"`
EndTime time.Time `json:"expire_time"`
Type string `json:"server_type"`