GetParameterNames task now deletes objects that no longer exist from DB
This commit is contained in:
1 parent
754b2d784f
commit
9f83c29a93
2 files changed
+50
-15
No files matched your search
+1
-1
@@ -94,7 +94,7 @@ updateDevice = (currentRequest, actions, callback) ->
|
||||
updates["#{path}_object"] = true
|
||||
else
|
||||
path = "#{p[0]}."
|
||||
updates["#{path}_writable"] = p[1]
|
||||
updates["#{path}_writable"] = p[1] if p[1]?
|
||||
updates["#{path}_timestamp"] = now
|
||||
|
||||
if Object.keys(updates).length > 0 or Object.keys(deletes).length > 0
|
||||
|
||||
Reference in new issue
Block a user