From 348e820351f82bd4786c9075943d85a495793b43 Mon Sep 17 00:00:00 2001 From: Renzo <rontivero@ultimamillasa.com.ar> Date: Mon, 18 May 2020 17:16:15 -0300 Subject: [PATCH] =?UTF-8?q?A=C3=B1adiendo=20dependencias.=20Corrigiendo=20?= =?UTF-8?q?errores?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/controllers/CeloController.js | 4 ++-- package-lock.json | 5 +++++ package.json | 1 + views/layouts/layout.ejs | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/api/controllers/CeloController.js b/api/controllers/CeloController.js index f6fc6da..e5db37a 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 58a721d..17ebde9 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 4627434..70e0f2b 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 9588d2b..e8c5a23 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> -- GitLab