We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e270554 commit dedfdceCopy full SHA for dedfdce
src/index.js
@@ -5,6 +5,7 @@ if(dotenv.error) throw dotenv.error
5
const c = con => console.log(con)
6
7
const pool = require('./database')
8
+const enviaEmail = require('./mail')
9
10
// Obtiene usuarios de BBDD para datos del archivo
11
const getUsers = async () => {
@@ -17,4 +18,5 @@ const getUsers = async () => {
17
18
19
(async () => {
20
const users = await getUsers()
21
+ enviaEmail(c,users)
22
})()
0 commit comments