Fix bug when deleting tags from script
This commit is contained in:
1 parent
9cb623c096
commit
4b17c3c9c3
1 file changed
+1
-1
+1
-1
@@ -705,7 +705,7 @@ rpcRequest = (sessionContext, _declarations, callback) ->
|
|||||||
if v and not c?
|
if v and not c?
|
||||||
toClear = device.set(sessionContext.deviceData, p, timestamp, {object: [timestamp, false], writable: [timestamp, true], value: [timestamp, [true, 'xsd:boolean']]}, toClear)
|
toClear = device.set(sessionContext.deviceData, p, timestamp, {object: [timestamp, false], writable: [timestamp, true], value: [timestamp, [true, 'xsd:boolean']]}, toClear)
|
||||||
else if c? and not v
|
else if c? and not v
|
||||||
toClear = device.set(sessionContext.deviceData, p, timestamp, toClear)
|
toClear = device.set(sessionContext.deviceData, p, timestamp, null, toClear)
|
||||||
)
|
)
|
||||||
|
|
||||||
# Downloads
|
# Downloads
|
||||||
|
|||||||
Reference in new issue
Block a user