mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-30 20:56:39 +00:00
fix: group type
This commit is contained in:
parent
edfe82ac28
commit
bbc943fa6b
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue