mirror of
https://github.com/sascha-hemi/spaceDevices.git
synced 2026-03-21 03:04:20 +01:00
fixes empty people for last will
This commit is contained in:
@@ -191,7 +191,7 @@ func defaultCertPool(certFile string) *x509.CertPool {
|
||||
}
|
||||
|
||||
func emptyPeopleAndDevices() string {
|
||||
pad := PeopleAndDevices{}
|
||||
pad := PeopleAndDevices{People:[]Person{}}
|
||||
bytes, err := json.Marshal(pad)
|
||||
if err != nil {
|
||||
mqttLogger.WithError(err).Panic()
|
||||
|
||||
Reference in New Issue
Block a user