mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-23 15:33:13 +01:00
fix: setting details (#1175)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user