Fix bug where GPV is sent with no parameters

This commit is contained in:
Zaid Abdulla committed 2017-03-08 16:07:56 -08:00
1 parent e6b717ef1b
commit 2e7fb3d40d
1 file changed
+1
+1
View File
@@ -917,6 +917,7 @@ generateGetRpcRequest = (sessionContext) ->
if sessionContext.deviceData.attributes.has(path)
parameterNames.push(path)
if parameterNames.length
return {
name: 'GetParameterValues'
parameterNames: (p.join('.') for p in parameterNames)