Se agregaron funciones y cambios en los dto

This commit is contained in:
2025-10-16 14:04:30 -06:00
parent cdf3b761e4
commit 09fda8af12
16 changed files with 1470 additions and 296 deletions
+4 -4
View File
@@ -179,9 +179,9 @@ export class ProgramaService {
};
}
async programasAdmin(body: { idUsuario: number }) {
async programasAdmin(idUser: number) {
const idUsuario = this.validacionService.validarNumeroEntero(
body.idUsuario,
idUser,
'id usuario',
);
@@ -201,9 +201,9 @@ export class ProgramaService {
});
}
async programasResponsable(body: { idUsuario: number }) {
async programasResponsable(idUser: number) {
const idUsuario = this.validacionService.validarNumeroEntero(
body.idUsuario,
idUser,
'id usuario',
);