Se agregaron funciones y cambios en los dto
This commit is contained in:
@@ -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',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user