correciones

This commit is contained in:
xXpuma99Xx
2022-04-22 21:59:12 -05:00
parent 54a55e95d9
commit 923afe2f5c
13 changed files with 23 additions and 5 deletions
@@ -15,6 +15,7 @@ export class CarreraProgramaController {
);
}
// terminar delte
@Delete()
delete() {}
@@ -52,6 +52,7 @@ export class CarreraProgramaService {
});
}
// Eliminar update, no tiene sentido tenerlo, me equivoque xd
async update(attrs: Partial<CarreraPrograma>) {
const carreraPrograma = await this.findById(attrs.id_carrera_programa);
@@ -4,6 +4,7 @@ export class CarreraProgramaUpdateDto {
@IsNumber()
id_carrera_programa: number;
// Falta IsOptional para este y el de abajo
@IsNumber()
id_carrera: number;