diff --git a/package-lock.json b/package-lock.json index 6553ca8..c073b6b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3051,7 +3051,7 @@ "version": "1.13.5", "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.13.5.tgz", "integrity": "sha512-WezcBo8a0Dg2rnR82zhwoR6aRNxeTGfK5QCD6TQ+kg3xx/zNT02s/0o+81h/3zhvFSB24NtqEr8FTw88O5W/JQ==", - "dev": true, + "devOptional": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -3093,7 +3093,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -3110,7 +3109,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -3127,7 +3125,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -3144,7 +3141,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -3161,7 +3157,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -3178,7 +3173,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -3195,7 +3189,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -3212,7 +3205,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -3229,7 +3221,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -3246,7 +3237,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -3260,14 +3250,14 @@ "version": "0.1.3", "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==", - "dev": true, + "devOptional": true, "license": "Apache-2.0" }, "node_modules/@swc/types": { "version": "0.1.25", "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.25.tgz", "integrity": "sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==", - "dev": true, + "devOptional": true, "license": "Apache-2.0", "dependencies": { "@swc/counter": "^0.1.3" diff --git a/src/servicio/servicio.service.ts b/src/servicio/servicio.service.ts index 3c43443..a272b4b 100644 --- a/src/servicio/servicio.service.ts +++ b/src/servicio/servicio.service.ts @@ -272,11 +272,11 @@ export class ServicioService { }; if (servicio.correo) { - await this.gmailService.enviarCorreo(sendCorreoAlumnoDto); + this.gmailService.enviarCorreo(sendCorreoAlumnoDto); } if (responsable.usuario) { - await this.gmailService.enviarCorreo(sendCorreoResponsableDto); + this.gmailService.enviarCorreo(sendCorreoResponsableDto); } // Desactivar al usuario (alumno) @@ -523,7 +523,7 @@ export class ServicioService { console.log('Error eliminando archivo:', err); } - const info =await this.archivoService.crearArchivo(path, convertArrayToCSV(data)); + const info = await this.archivoService.crearArchivo(path, convertArrayToCSV(data)); console.log('Archivo creado:', info); @@ -1600,12 +1600,13 @@ export class ServicioService { async diario(): Promise { const now = moment().startOf('day'); let mensaje = ''; - const idsABuscar = [19078, 19079, 19080, 19081]; + const idsABuscar = [19078, 19079, 19080, 19081]; const servicios = await this.servicioRepo.find({ // where: { idServicio:In(idsABuscar) - where: { status: { idStatus: 3} -}, + where: { + status: { idStatus: 3 } + }, relations: [ 'status', 'usuario',