Skip to content
Snippets Groups Projects
Commit 348e8203 authored by Renzo Mauro Ontivero's avatar Renzo Mauro Ontivero
Browse files

Añadiendo dependencias. Corrigiendo errores

parent 4dd6db9c
No related branches found
No related tags found
No related merge requests found
...@@ -65,10 +65,10 @@ module.exports = { ...@@ -65,10 +65,10 @@ module.exports = {
if(req.body.phone){ if(req.body.phone){
var notificacion = `Your transaction was successfully sent ! The hash is ${receipt.transactionHash}. Greetings team Celo`; var notificacion = `Your transaction was successfully sent ! The hash is ${receipt.transactionHash}. Greetings team Celo`;
// Notifico por whatsapp // Notifico por whatsapp
await sails.helpers.enviarWhatsapp.with({ await sails.helpers.enviarWhatsapp.with({
texto: notificacion texto: notificacion,
numero: req.body.phone, numero: req.body.phone,
}); });
......
...@@ -5411,6 +5411,11 @@ ...@@ -5411,6 +5411,11 @@
"strict-uri-encode": "^1.0.0" "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": { "random-bytes": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz",
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
"grunt": "1.0.4", "grunt": "1.0.4",
"js-sha256": "^0.9.0", "js-sha256": "^0.9.0",
"nodejs-base64-encode": "^1.1.0", "nodejs-base64-encode": "^1.1.0",
"querystring": "^0.2.0",
"sails": "^1.2.3", "sails": "^1.2.3",
"sails-hook-grunt": "^4.0.0", "sails-hook-grunt": "^4.0.0",
"sails-hook-orm": "^2.1.1", "sails-hook-orm": "^2.1.1",
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
--> -->
<!--STYLES--> <!--STYLES-->
<link rel="stylesheet" href="/styles/importer.css"> <link rel="stylesheet" href="/min/production.min.css">
<!--STYLES END--> <!--STYLES END-->
</head> </head>
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
--> -->
<!--SCRIPTS--> <!--SCRIPTS-->
<script src="/dependencies/sails.io.js"></script> <script src="/min/production.min.js"></script>
<!--SCRIPTS END--> <!--SCRIPTS END-->
</body> </body>
</html> </html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment