Skip to content

Commit

Permalink
do not create device when ngsiv2 measure is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Oct 30, 2023
1 parent 9f50363 commit 44d618c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bindings/HTTPBinding.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ function handleIncomingNgsiv2Measure(req, res, next) {
context = fillService(context, { service: 'n/a', subservice: 'n/a' });
config.getLogger().debug(context, 'Processing HTTP NGSIv2 measure');

iotaUtils.retrieveDevice(req.deviceId, req.apiKey, transport, processNGSIv2Measure);
processNGSIv2Measure(null, { id: req.deviceId, apikey: req.apiKey });
}

function isCommand(req, res, next) {
Expand Down

0 comments on commit 44d618c

Please sign in to comment.