diff --git a/src/node/hooks/express/apicalls.js b/src/node/hooks/express/apicalls.js index ae250701d..a36ecf4d7 100644 --- a/src/node/hooks/express/apicalls.js +++ b/src/node/hooks/express/apicalls.js @@ -60,7 +60,7 @@ exports.expressCreateServer = function (hook_name, args, cb) { //Provide a possibility to query the latest available API version args.app.get('/api', function (req, res) { - res.json({"latestApiVersion" : apiHandler.latestAPI}); + res.json({"latestApiVersion" : apiHandler.latestApiVersion}); }); }