Skip to content

Commit ae9c373

Browse files
committed
fix: delete duplicate attributes for schema dirs subsubtask_1258
1 parent 5d9d942 commit ae9c373

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

app/ldap_protocol/ldap_schema/attribute_type/attribute_type_use_case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ async def create(self, dto: AttributeTypeDTO) -> None:
8080
entity_type_name=EntityTypeNames.ATTRIBUTE_TYPE,
8181
attributes=(
8282
AttributeDTO(name=Names.OID, values=[str(dto.oid)]),
83-
AttributeDTO(name=Names.NAME, values=[str(dto.name)]),
8483
AttributeDTO(
8584
name=Names.OBJECT_CLASS,
8685
values=ATTRIBUTE_TYPE_OBJECT_CLASS_NAMES,

app/ldap_protocol/ldap_schema/object_class/object_class_use_case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ async def create(self, dto: ObjectClassDTO[None, str]) -> None:
115115
values=OBJECT_CLASS_OBJECT_CLASS_NAMES,
116116
),
117117
AttributeDTO(name=Names.OID, values=[str(dto.oid)]),
118-
AttributeDTO(name=Names.NAME, values=[str(dto.name)]),
119118
AttributeDTO(
120119
name=Names.SUPERIOR_NAME,
121120
values=[str(dto.superior_name)],

0 commit comments

Comments
 (0)