Merge pull request #12537 from zfox23/fixJsRequest

Fix undefined request from JS
This commit is contained in:
John Conklin II 2018-03-02 13:39:27 -08:00 committed by GitHub
commit 7ebe3df2b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ module.exports = {
}
}
httpRequest.open(options.method, options.uri, true);
httpRequest.send(options.body);
httpRequest.send(options.body || null);
}
};