Fix Device.ID param missing on first contact
This commit is contained in:
1 parent
8f5effe84c
commit
b1ed1f4f2f
1 file changed
+3
@@ -150,6 +150,9 @@ inform = (sessionContext, rpcReq, callback) ->
|
|||||||
return callback(err) if err
|
return callback(err) if err
|
||||||
|
|
||||||
if sessionContext.new
|
if sessionContext.new
|
||||||
|
params.push([['DeviceID', 'ID'], timestamp,
|
||||||
|
{object: [timestamp, 0], writable: [timestamp, 0], value: [timestamp, [sessionContext.deviceId, 'xsd:string']]}])
|
||||||
|
|
||||||
params.push([['Events', 'Registered'], timestamp,
|
params.push([['Events', 'Registered'], timestamp,
|
||||||
{object: [timestamp, 0], writable: [timestamp, 0], value: [timestamp, [timestamp, 'xsd:dateTime']]}])
|
{object: [timestamp, 0], writable: [timestamp, 0], value: [timestamp, [timestamp, 'xsd:dateTime']]}])
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user