Skip to content

Commit

Permalink
fixup! feat(coap-request): adapt to http-request
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Sep 21, 2021
1 parent 80e3782 commit 0ae7fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coap/coap-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = function (RED) {
reqOpts = msg.method.toUpperCase();
}

reqOpts.headers = msg["headers"];
reqOpts.headers = msg.headers;
if (reqOpts.headers == null) {
reqOpts.headers = {};
}
Expand Down

0 comments on commit 0ae7fa5

Please sign in to comment.