verificacion de ciertos endpoints

This commit is contained in:
2022-05-09 14:49:38 -05:00
parent 9c7353a91e
commit 7c71d5178c
8 changed files with 68 additions and 71 deletions
+3 -3
View File
@@ -10,7 +10,7 @@ import {
import { FileInterceptor } from '@nestjs/platform-express';
import { UploadFileService } from './upload-file.service';
import { IdInstitucionDto } from '../dto/id-institucion.dto';
import {ApiTags} from '@nestjs/swagger'
import { ApiTags } from '@nestjs/swagger';
@Controller('upload-file')
@ApiTags('upload-file')
@@ -47,12 +47,12 @@ export class UploadFileController {
}
@Get('download-plantilla-equipos')
downloadPlantillaEquipos(@Response() res, @Query() query: IdInstitucionDto) {
downloadPlantillaEquipos(@Response() res) {
return res.download('./upload/plantilla_equipos.csv');
}
@Get('download-plantilla-usuarios')
downloadPlantillaUsuarios(@Response() res, @Query() query: IdInstitucionDto) {
downloadPlantillaUsuarios(@Response() res) {
return res.download('./upload/plantilla_alumnos.csv');
}