fixes empty people for last will

This commit is contained in:
Holger Cremer
2018-01-04 22:58:20 +01:00
parent 144f156b95
commit 37f059899e

View File

@@ -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()