From 4b17c3c9c3353cd57e76fbc49e0141df95a4eff2 Mon Sep 17 00:00:00 2001 From: Zaid Abdulla Date: Tue, 22 Aug 2017 16:07:04 -0700 Subject: [PATCH] Fix bug when deleting tags from script --- lib/session.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/session.coffee b/lib/session.coffee index 94f33cf..41f7871 100644 --- a/lib/session.coffee +++ b/lib/session.coffee @@ -705,7 +705,7 @@ rpcRequest = (sessionContext, _declarations, callback) -> if v and not c? 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 - toClear = device.set(sessionContext.deviceData, p, timestamp, toClear) + toClear = device.set(sessionContext.deviceData, p, timestamp, null, toClear) ) # Downloads