Fix undefined request from JS

This commit is contained in:
Zach Fox 2018-03-01 16:40:24 -08:00
parent 678584538d
commit a5a109e4f1

View file

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