operador listo, solo falta reporte
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user