Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix: store device subscriptions updates (#1086)
2 changes: 2 additions & 0 deletions lib/services/devices/deviceRegistryMongoDB.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const attributeList = [
'timestamp',
'explicitAttrs',
'ngsiVersion',
'subscriptions',
'payloadType'
];

Expand Down Expand Up @@ -318,6 +319,7 @@ function update(device, callback) {
data.explicitAttrs = device.explicitAttrs;
data.ngsiVersion = device.ngsiVersion;
data.timestamp = device.timestamp;
data.subscriptions = device.subscriptions;
data.payloadType = device.payloadType;

/* eslint-disable-next-line new-cap */
Expand Down