summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan <mu.stefan@googlemail.com>2018-02-03 12:33:33 +0100
committerStefan <mu.stefan@googlemail.com>2018-02-03 12:33:33 +0100
commitb292e137ed3360a360ef084044debd3454ebf53c (patch)
treebd1811c2e69888b96ec991d7416764bbd9a95b1f
parenta03422b09468cdd5f192b05643311c705447588b (diff)
downloadetherpad-lite-b292e137ed3360a360ef084044debd3454ebf53c.zip
Added missing require for is-var-name
-rw-r--r--src/node/hooks/express/apicalls.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/hooks/express/apicalls.js b/src/node/hooks/express/apicalls.js
index 7f2f8ecf..4482fd84 100644
--- a/src/node/hooks/express/apicalls.js
+++ b/src/node/hooks/express/apicalls.js
@@ -3,6 +3,7 @@ var apiLogger = log4js.getLogger("API");
var clientLogger = log4js.getLogger("client");
var formidable = require('formidable');
var apiHandler = require('../../handler/APIHandler');
+var isVarName = require('is-var-name');
//This is for making an api call, collecting all post information and passing it to the apiHandler
var apiCaller = function(req, res, fields) {