Modificaciones en algunos endpoint
This commit is contained in:
Binary file not shown.
@@ -26,6 +26,9 @@ export class CuestionarioAlumno2Controller {
|
||||
@Post()
|
||||
@UseGuards(AuthGuard('jwt'))
|
||||
create(@Body() createCuestionarioAlumno2Dto: CreateCuestionarioAlumno2Dto) {
|
||||
|
||||
console.log('CreateCuestionarioAlumno2Dto recibido:', createCuestionarioAlumno2Dto);
|
||||
|
||||
return this.cuestionarioAlumno2Service.create(createCuestionarioAlumno2Dto);
|
||||
}
|
||||
|
||||
|
||||
@@ -134,6 +134,10 @@ export class CreateCuestionarioAlumno2Dto {
|
||||
@IsNotEmpty()
|
||||
p12_C_4: string;
|
||||
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
p12_C_5: string;
|
||||
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
p12_D_1: string;
|
||||
|
||||
@@ -51,6 +51,7 @@ export class ServicioController {
|
||||
async registroValidado(
|
||||
@Body() dto: RegistroValidadoDto,
|
||||
): Promise<{ message: string }> {
|
||||
console.log('RegistroValidadoDto recibido:', dto);
|
||||
return this.servicioService.registroValidado(dto);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user