Fix bug where GPV is sent with no parameters
This commit is contained in:
1 parent
e6b717ef1b
commit
2e7fb3d40d
1 file changed
+1
@@ -917,6 +917,7 @@ generateGetRpcRequest = (sessionContext) ->
|
|||||||
if sessionContext.deviceData.attributes.has(path)
|
if sessionContext.deviceData.attributes.has(path)
|
||||||
parameterNames.push(path)
|
parameterNames.push(path)
|
||||||
|
|
||||||
|
if parameterNames.length
|
||||||
return {
|
return {
|
||||||
name: 'GetParameterValues'
|
name: 'GetParameterValues'
|
||||||
parameterNames: (p.join('.') for p in parameterNames)
|
parameterNames: (p.join('.') for p in parameterNames)
|
||||||
|
|||||||
Reference in new issue
Block a user