Errores del carrito
This commit is contained in:
@@ -15,7 +15,6 @@ export class CarreraProgramaController {
|
||||
);
|
||||
}
|
||||
|
||||
// terminar delte
|
||||
@Delete(':id')
|
||||
delete(@Param('id') id_carrera_programa: number) {
|
||||
return this.carreraProgramaService.delete(id_carrera_programa)
|
||||
|
||||
@@ -59,12 +59,12 @@ export class CarritoService {
|
||||
pagina?: string,
|
||||
id_modulo?: string,
|
||||
id_tipo_carrito?: string,
|
||||
activo?: string,
|
||||
activo?: boolean,
|
||||
}) {
|
||||
const busqueda: {
|
||||
modulo?: Modulo;
|
||||
institucionTipoCarrito?: InstitucionTipoCarrito;
|
||||
activo?: string;
|
||||
activo?: boolean;
|
||||
} = {}
|
||||
|
||||
const modulo = filtros.id_modulo
|
||||
|
||||
@@ -16,5 +16,5 @@ export class CarritoGetDto {
|
||||
|
||||
@IsBooleanString()
|
||||
@IsOptional()
|
||||
activo?: string;
|
||||
activo?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user