From a5a109e4f1d25a4ff33e7dbd11598eb8e1a63f2b Mon Sep 17 00:00:00 2001
From: Zach Fox <fox@highfidelity.io>
Date: Thu, 1 Mar 2018 16:40:24 -0800
Subject: [PATCH] Fix undefined request from JS

---
 scripts/modules/request.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/modules/request.js b/scripts/modules/request.js
index c7bf98d815..3516554567 100644
--- a/scripts/modules/request.js
+++ b/scripts/modules/request.js
@@ -71,7 +71,7 @@ module.exports = {
             }
         }
         httpRequest.open(options.method, options.uri, true);
-        httpRequest.send(options.body);
+        httpRequest.send(options.body || null);
         }
 };