diff --git a/model/sensorconfig/Keys.go b/model/sensorconfig/Keys.go index 675a22e..f58094c 100644 --- a/model/sensorconfig/Keys.go +++ b/model/sensorconfig/Keys.go @@ -5,7 +5,7 @@ type Keys struct { Key string `json:"key,omitempty"` } -func KeysToMap(keys []Keys) map[string]string { +func KeysToMap(keys []*Keys) map[string]string { m := make(map[string]string)