add dbm new model and fixed json_data
This commit is contained in:
@@ -14,7 +14,7 @@ func (d *DBMHandler) Set(req *json_dataModels.Request) {
|
||||
defer d.RUnlock()
|
||||
|
||||
for _, set := range req.Set {
|
||||
for _, dp := range d.DB.QueryDatapoints(1, set.Path) {
|
||||
for _, dp := range d.DBM.QueryDatapoints(1, set.Uuid, set.Path) {
|
||||
dp.UpdateValue(d.Conns, set.Value)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user