diff --git a/api/globalconfig/types.go b/api/globalconfig/types.go index 05cb68d83..5752833ee 100644 --- a/api/globalconfig/types.go +++ b/api/globalconfig/types.go @@ -80,8 +80,8 @@ func masked(s any) string { } type Mqtt struct { - mqtt.Config - Topic string `json:"topic"` + mqtt.Config `mapstructure:",squash"` + Topic string `json:"topic"` } // Redacted implements the redactor interface used by the tee publisher