Fixed bug where writable parameters are not marked as such
This commit is contained in:
1 parent
e117f9ceb3
commit
238437e516
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user