Skip to content

Commit 96742c2

Browse files
committed
fixup! feat(coap-request): adapt to http-request
1 parent 3d0ce4a commit 96742c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coap/coap-request.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ module.exports = function (RED) {
171171
var payload;
172172

173173
if (reqOpts.method !== "GET") {
174-
payload = _constructPayload(msg, reqOpts.headers["Content-Format"]);
174+
payload = _constructPayload(msg, reqOpts.headers["content-Format"]);
175175
} else if (paytoqs === "query") {
176176
try {
177177
_appendQueryParams(reqOpts, msg.payload);

0 commit comments

Comments
 (0)