operador listo, solo falta reporte

This commit is contained in:
xXpuma99Xx
2022-05-02 14:40:17 -05:00
parent 233089cbf1
commit 63d83d46e2
24 changed files with 113 additions and 78 deletions
+4 -4
View File
@@ -25,7 +25,7 @@ export class UploadFileController {
) {
return this.uploadFileService.createEquipos(
file,
Number(query.id_institucion),
parseInt(query.id_institucion),
);
}
@@ -37,13 +37,13 @@ export class UploadFileController {
) {
return this.uploadFileService.createUsuarios(
file,
Number(query.id_institucion),
parseInt(query.id_institucion),
);
}
@Get('download-logo')
downloadLogo(@Response() res, @Query() query: IdInstitucionDto) {
return this.uploadFileService.downloadLogo(Number(query.id_institucion));
return this.uploadFileService.downloadLogo(parseInt(query.id_institucion));
}
@Get('download-plantilla-equipos')
@@ -62,6 +62,6 @@ export class UploadFileController {
@UploadedFile() file: Express.Multer.File,
@Query() query: IdInstitucionDto,
) {
this.uploadFileService.uploadLogo(file, Number(query.id_institucion));
this.uploadFileService.uploadLogo(file, parseInt(query.id_institucion));
}
}