Fixed bug in the last commit which caused incomplete objects in init task
This commit is contained in:
1 parent
9f83c29a93
commit
8167c0c6e5
1 file changed
+1
-1
+1
-1
@@ -134,7 +134,7 @@ this.getParameterNames = (task, methodResponse, callback) ->
|
|||||||
deviceUpdates.deletedObjects = [rootPath.slice(0, -1)]
|
deviceUpdates.deletedObjects = [rootPath.slice(0, -1)]
|
||||||
|
|
||||||
# some devices don't return the root object as described in the standard. add manually to update timestamp
|
# some devices don't return the root object as described in the standard. add manually to update timestamp
|
||||||
deviceUpdates.parameterNames.push([task.parameterPath])
|
deviceUpdates.parameterNames.push([task.parameterPath]) if !!task.parameterPath
|
||||||
|
|
||||||
callback(null, STATUS_FINISHED, null, deviceUpdates)
|
callback(null, STATUS_FINISHED, null, deviceUpdates)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user