diff --git a/lib/services/devices/deviceRegistryMongoDB.js b/lib/services/devices/deviceRegistryMongoDB.js index 1090eb615..ab189c4e5 100644 --- a/lib/services/devices/deviceRegistryMongoDB.js +++ b/lib/services/devices/deviceRegistryMongoDB.js @@ -298,6 +298,7 @@ function update(device, callback) { /* eslint-disable-next-line new-cap */ const deviceObj = new Device.model(data); + deviceObj.isNew = false; deviceObj.save(saveDeviceHandler(callback)); } });