El excel ya no se guarda en el servidor
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user