Skip to content

Commit

Permalink
fix return callback when error
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Jan 29, 2025
1 parent 50a3201 commit c21496e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/ngsi/ngsiService.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function sendUpdateValue(entityName, attributes, typeInformation, token, callbac
if (additionalErr) {
return newCallback(additionalErr);
}
newCallback(null, modifiedResult || result);
return newCallback(null, modifiedResult || result);
});
};
// check config about store last measure
Expand Down

0 comments on commit c21496e

Please sign in to comment.