lib/imperituroard/projects/iot/hua_oceanconnect_adapter.rb in imperituroard-0.3.5 vs lib/imperituroard/projects/iot/hua_oceanconnect_adapter.rb in imperituroard-0.3.7

- old
+ new

@@ -230,10 +230,10 @@ #2.2.44 Querying the Device ID def querying_device_id(app_id, secret, node_id) token = get_token(app_id, secret)[:body]["accessToken"] p token - path = "/iocm/app/dm/v1.1.0/queryDeviceIdByNodeId?nodeId=" + node_id + path = "/iocm/app/dm/v1.1.0/queryDeviceIdByNodeId?nodeId=" + node_id + "&appId=Cd1v0k2gTBCbpQlMVlW1FVqOSqga" p path p path url_string = "https://" + platformip + ":" + platformport + path p url_string uri = URI.parse url_string \ No newline at end of file