Fix bug in DB fetching of root timestamp
This commit is contained in:
1 parent
7ced8fef3d
commit
aee33809b5
1 file changed
+1
-1
+1
-1
@@ -394,7 +394,7 @@ fetchDevice = (id, timestamp, patterns, callback) ->
|
|||||||
if kk == '_SerialNumber'
|
if kk == '_SerialNumber'
|
||||||
res.push([['DeviceID', 'SerialNumber'], timestamp, 1, timestamp, 0, timestamp, 0, timestamp, [vv, 'xsd:string']])
|
res.push([['DeviceID', 'SerialNumber'], timestamp, 1, timestamp, 0, timestamp, 0, timestamp, [vv, 'xsd:string']])
|
||||||
else if common.typeOf(v) is common.OBJECT_TYPE
|
else if common.typeOf(v) is common.OBJECT_TYPE
|
||||||
storeParams(v, [k], 0, projection == null)
|
storeParams(v, [k], device['_timestamp'] ? 0, projection == null)
|
||||||
|
|
||||||
return callback(null, res)
|
return callback(null, res)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user