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

Ahora si notificamos por whatsapp

parent 57e27768
No related branches found
No related tags found
No related merge requests found
......@@ -36,11 +36,12 @@ module.exports = {
fn: async function (inputs) {
var data = querystring.stringify({
texto : inputs.texto,
telefono : inputs.telefono
telefono : inputs.numero
});
const response = await axios.get('http://190.105.227.247/~umbot/api-whatsapp/?'+data)
.then((response) => {
.then((response) => {
sails.log(response);
return response;
})
.catch((err) => {
......
......@@ -32,7 +32,7 @@
-->
<!--STYLES-->
<link rel="stylesheet" href="/min/production.min.css">
<link rel="stylesheet" href="/styles/importer.css">
<!--STYLES END-->
</head>
......@@ -106,7 +106,7 @@
-->
<!--SCRIPTS-->
<script src="/min/production.min.js"></script>
<script src="/dependencies/sails.io.js"></script>
<!--SCRIPTS END-->
</body>
</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