diff --git a/api/controllers/CeloController.js b/api/controllers/CeloController.js index f6fc6da86b5649f1c2e431c62e9dfd17f60953e1..e5db37a1b72b94517063306d79112480aee2dbc0 100755 --- a/api/controllers/CeloController.js +++ b/api/controllers/CeloController.js @@ -65,10 +65,10 @@ module.exports = { if(req.body.phone){ var notificacion = `Your transaction was successfully sent ! The hash is ${receipt.transactionHash}. Greetings team Celo`; - + // Notifico por whatsapp await sails.helpers.enviarWhatsapp.with({ - texto: notificacion + texto: notificacion, numero: req.body.phone, }); diff --git a/package-lock.json b/package-lock.json index 58a721dc12ac1ba583c4b4c96f7348748af6636b..17ebde99430969d6fd260ce23681e2f8408c62d0 100755 --- a/package-lock.json +++ b/package-lock.json @@ -5411,6 +5411,11 @@ "strict-uri-encode": "^1.0.0" } }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + }, "random-bytes": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", diff --git a/package.json b/package.json index 462743451f717c95088c54115edb03b7779ce02a..70e0f2b1a4b6501a14a6827280e6ef9c61b66c31 100755 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "grunt": "1.0.4", "js-sha256": "^0.9.0", "nodejs-base64-encode": "^1.1.0", + "querystring": "^0.2.0", "sails": "^1.2.3", "sails-hook-grunt": "^4.0.0", "sails-hook-orm": "^2.1.1", diff --git a/views/layouts/layout.ejs b/views/layouts/layout.ejs index 9588d2b66136ff48451ab1f8a36c7b4bbad5d7e4..e8c5a231af03104661c2a394ea6661cf1e2e9c1f 100755 --- a/views/layouts/layout.ejs +++ b/views/layouts/layout.ejs @@ -32,7 +32,7 @@ --> <!--STYLES--> - <link rel="stylesheet" href="/styles/importer.css"> + <link rel="stylesheet" href="/min/production.min.css"> <!--STYLES END--> </head> @@ -106,7 +106,7 @@ --> <!--SCRIPTS--> - <script src="/dependencies/sails.io.js"></script> + <script src="/min/production.min.js"></script> <!--SCRIPTS END--> </body> </html>