From bbc943fa6bebe03b271f231e36a56f6cd87ec0d8 Mon Sep 17 00:00:00 2001 From: dettlaff Date: Fri, 13 Dec 2024 06:56:40 +0400 Subject: [PATCH] fix: group type --- selfprivacy_api/graphql/common_types/groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfprivacy_api/graphql/common_types/groups.py b/selfprivacy_api/graphql/common_types/groups.py index cbca140..87a3f9b 100644 --- a/selfprivacy_api/graphql/common_types/groups.py +++ b/selfprivacy_api/graphql/common_types/groups.py @@ -8,7 +8,7 @@ from selfprivacy_api.actions.users import get_groups as actions_get_groups @strawberry.type class Group: name: str - group_class: list + group_class: 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) directmemberof: Optional[list[str]] = strawberry.field(default_factory=list)