error on version response fixed

parent b99355a3
Showing with 2 additions and 2 deletions
...@@ -12,7 +12,7 @@ module.exports = { ...@@ -12,7 +12,7 @@ module.exports = {
*/ */
ping: function (req, res) { ping: function (req, res) {
res.ok({ res.ok({
version: sails.config.pictogram version: sails.config.pictogram.version
}); });
}, },
...@@ -24,7 +24,7 @@ module.exports = { ...@@ -24,7 +24,7 @@ module.exports = {
*/ */
ping_session: function (req, res) { ping_session: function (req, res) {
res.ok({ res.ok({
version: sails.config.pictogram version: sails.config.pictogram.version
}); });
} }
}; };
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 sign in to comment