From c3f51f2e36f7cf37fd05c78386bee55865c5dc22 Mon Sep 17 00:00:00 2001 From: Bennett Wetters Date: Sun, 14 Jan 2024 00:59:57 +0100 Subject: [PATCH] Rename "static" to "response" for consistency --- config-template.json | 2 +- config/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config-template.json b/config-template.json index 49bc770..9be6055 100644 --- a/config-template.json +++ b/config-template.json @@ -32,7 +32,7 @@ } } }, - "static": { + "response": { "api_compatibility": [ "14" ], diff --git a/config/types.go b/config/types.go index a6a3728..c8d9524 100644 --- a/config/types.go +++ b/config/types.go @@ -37,5 +37,5 @@ type SpaceapidConfig struct { // The dynamic part of the spaceapi JSON Dynamic DynamicStateConfig `json:"dynamic"` // The static part of the spaceapi JSON - Response types.SpaceAPIResponseV14 `json:"static"` + Response types.SpaceAPIResponseV14 `json:"response"` }