fix: group type

This commit is contained in:
dettlaff 2024-12-13 06:56:40 +04:00
parent edfe82ac28
commit bbc943fa6b

View file

@ -8,7 +8,7 @@ from selfprivacy_api.actions.users import get_groups as actions_get_groups
@strawberry.type @strawberry.type
class Group: class Group:
name: str name: str
group_class: list group_class: Optional[list[str]] = strawberry.field(default_factory=list)
member: Optional[list[str]] = strawberry.field(default_factory=list) member: Optional[list[str]] = strawberry.field(default_factory=list)
memberof: Optional[list[str]] = strawberry.field(default_factory=list) memberof: Optional[list[str]] = strawberry.field(default_factory=list)
directmemberof: Optional[list[str]] = strawberry.field(default_factory=list) directmemberof: Optional[list[str]] = strawberry.field(default_factory=list)