El excel ya no se guarda en el servidor

This commit is contained in:
2023-03-21 14:23:35 -06:00
parent 357121500b
commit 6d6eb825d2
3 changed files with 66 additions and 31 deletions
+1 -2
View File
@@ -50,8 +50,7 @@ export class EventosController {
@Get(':id/exportExcel')
async exportarExcel (@Param('id', ParseIntPipe)id:number ,@Res() res: Response){
const filePath = await this.eventoService.exportarParticipantes(id);
res.download(filePath);
this.eventoService.exportarParticipantes(id, res)
}
@Post('disponibles')