Update src/node/hooks/express/apicalls.js

This commit is contained in:
Manuel Knitza 2013-02-12 21:29:32 +01:00
parent e59496fbe7
commit e5525d4e16

View file

@ -60,7 +60,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
//Provide a possibility to query the latest available API version //Provide a possibility to query the latest available API version
args.app.get('/api', function (req, res) { args.app.get('/api', function (req, res) {
res.json({"latestApiVersion" : apiHandler.latestAPI}); res.json({"latestApiVersion" : apiHandler.latestApiVersion});
}); });
} }