Skip to content

Commit

Permalink
Merge pull request #60 from samuel-gay/master
Browse files Browse the repository at this point in the history
fix for #54 - Reference Error: headers is not defined
  • Loading branch information
pdmangel authored Jan 8, 2021
2 parents 95e3865 + a71756c commit 38786e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 77-openhab2.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ module.exports = function(RED) {
else
{
url = getConnectionString(config) + "/rest/items/" + itemname;
headers = {};
method = request.get;
}

Expand Down

0 comments on commit 38786e1

Please sign in to comment.