From 5b939b6786f4e2cd5c53dd76847174264219496e Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 5 Apr 2025 10:47:57 +0200 Subject: [PATCH] Mqtt: fix config not embedded --- api/globalconfig/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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