Merge pull request #4262 from sammachin/patch-3

Handle 204 in httprequest JSON
This commit is contained in:
Nick O'Leary
2023-08-14 11:10:24 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -667,7 +667,7 @@ describe('HTTP Request Node', function() {
var n2 = helper.getNode("n2");
n2.on("input", function(msg) {
try {
msg.should.have.property('payload','');
msg.should.have.property('payload',{});
msg.should.have.property('statusCode',204);
done();
} catch(err) {