Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Sep 11, 2023
1 parent d9fac84 commit df25753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iotaUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function findOrCreate(deviceId, transport, apikey, group, callback) {
.info(context, 'Update provisioned device %j with measure/group apikey %j', device, group.apikey);
device.apikey = group.apikey; // group apikey is the same of current measure apikey
iotAgentLib.updateDevice(device, function (error) {
callback(null, device, group);
callback(error, device, group);
});
} else {
callback(null, device, group);
Expand Down

0 comments on commit df25753

Please sign in to comment.