Fixed bug where writable parameters are not marked as such

This commit is contained in:
Zaid Abdulla committed 2013-03-20 19:47:08 +03:00
1 parent e117f9ceb3
commit 238437e516
1 file changed
+2 -1
+2 -1
View File
@@ -28,7 +28,8 @@ this.init = (task, methodResponse, callback) ->
if not common.endsWith(p[0], '.')
parameterNames.push(p[0])
task.subtask = {name : 'getParameterValues', parameterNames : parameterNames}
this.getParameterValues(task.subtask, {}, (err, status, cwmpResponse, deviceUpdates) ->
this.getParameterValues(task.subtask, {}, (err, status, cwmpResponse) ->
# ignore deviceUpdates returned by firt call to getParameterValues
callback(err, status, cwmpResponse, deviceUpdates)
)
else if status is STATUS_STARTED