activation on POST methdo

parent f22ab23a
...@@ -76,7 +76,7 @@ module.exports = { ...@@ -76,7 +76,7 @@ module.exports = {
activate: function (req, res) { activate: function (req, res) {
var params = req.allParams(); var params = req.allParams();
console.log("Activating license: " + JSON.stringify(params)); sails.debug.log("Activating license: " + JSON.stringify(params));
if (!params.number) if (!params.number)
return res.badRequest(); return res.badRequest();
......
...@@ -64,7 +64,7 @@ module.exports = { ...@@ -64,7 +64,7 @@ module.exports = {
DS_MERCHANT_URLKO: 'https://' + req.headers.host + '/app/#/student/' + params.id_stu + "/setup/renewed/0" // Returning URL (error) DS_MERCHANT_URLKO: 'https://' + req.headers.host + '/app/#/student/' + params.id_stu + "/setup/renewed/0" // Returning URL (error)
}; };
console.log("Data: " + JSON.stringify(tpvdata)); sails.debug.log("Data: " + JSON.stringify(tpvdata));
// //
// Sign submit data // Sign submit data
// //
......
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