lijian 2 rokov pred
rodič
commit
9fe8eb8af2
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      services/apiprovider/actions.go

+ 1 - 1
services/apiprovider/actions.go

@@ -120,7 +120,7 @@ func GetDeviceCurrentStatus(device *models.Device, config *productconfig.Product
 	server.Log.Printf("ACTION GetDeviceCurrentStatus, identifier:: %v", device.DeviceIdentifier)
 	server.Log.Printf("ACTION GetDeviceCurrentStatus, identifier:: %v", device.DeviceIdentifier)
 
 
 	statusargs := rpcs.ArgsGetStatus{
 	statusargs := rpcs.ArgsGetStatus{
-		Id: device.RecordId,
+		Id: device.DeviceIdentifier,
 	}
 	}
 	statusreply := rpcs.ReplyGetStatus{}
 	statusreply := rpcs.ReplyGetStatus{}
 	//opentracing
 	//opentracing