fix: setting details (#1175)

This commit is contained in:
Jonas Plum
2025-12-23 07:10:40 +01:00
committed by GitHub
parent 5f37e8a7d3
commit f0a53d56a2
2 changed files with 29 additions and 2 deletions

View File

@@ -1881,7 +1881,7 @@ func marshal(state map[string]any) json.RawMessage {
func marshalPointer(state *map[string]any) json.RawMessage {
if state == nil {
return json.RawMessage("{}")
return nil
}
b, _ := json.Marshal(*state) //nolint:errchkjson