new respond to send all create change delete different bug fixes
This commit is contained in:
@@ -67,9 +67,7 @@ func (d *DBMHandler) Delete(c *gin.Context) {
|
||||
}
|
||||
|
||||
response := json_data.NewResponse()
|
||||
|
||||
if payload.Set != nil {
|
||||
|
||||
response.Set, err = d.DBM.RemoveDatapoint(payload.Set...)
|
||||
if err != nil {
|
||||
r := json_data.NewResponse()
|
||||
|
@@ -49,6 +49,7 @@ func (d *DBMHandler) Subscribe(req *json_dataModels.Request, id string) {
|
||||
Path: dp.Path,
|
||||
Value: dp.Value,
|
||||
HasChild: dp.Datapoints != nil,
|
||||
Rights: dp.ReadWrite.GetRights(),
|
||||
Driver: sub.Driver,
|
||||
Drivers: &dp.Drivers,
|
||||
})
|
||||
|
Reference in New Issue
Block a user