Commit 5f738b0e authored by Kamron Aroonrua's avatar Kamron Aroonrua 💬

v

parent 099825ac
......@@ -10,7 +10,7 @@ module.exports.config = cfg;
module.exports.getInfo = function (name)
{
var BSINFO = {
"v" : require('./version')
"version" : require('./version')
}
return BSINFO;
......
......@@ -23,7 +23,7 @@ router.get('/version',function (req, res) {
var respHelper = response.create(res);
var info = ctx.getInfo();
var result=info.v.version;
var result=info.version;
respHelper.responseOK(result);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment