Avoid deleting Downloads tree after root GPN
This commit is contained in:
1 parent
4be709a61b
commit
7e6eebc486
1 file changed
+1
-1
+1
-1
@@ -1439,7 +1439,7 @@ rpcResponse = (sessionContext, id, rpcRes, callback) ->
|
|||||||
return callback(err) if err
|
return callback(err) if err
|
||||||
|
|
||||||
if root.length == 0
|
if root.length == 0
|
||||||
for n in ['DeviceID', 'Events', 'Tags', 'Reboot', 'FactoryReset', 'VirtualParameters']
|
for n in ['DeviceID', 'Events', 'Tags', 'Reboot', 'FactoryReset', 'VirtualParameters', 'Downloads']
|
||||||
if p = sessionContext.deviceData.paths.get([n])
|
if p = sessionContext.deviceData.paths.get([n])
|
||||||
if sessionContext.deviceData.attributes.has(p)
|
if sessionContext.deviceData.attributes.has(p)
|
||||||
sessionContext.deviceData.timestamps.set(p, timestamp)
|
sessionContext.deviceData.timestamps.set(p, timestamp)
|
||||||
|
|||||||
Reference in new issue
Block a user