Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove not needed optimizer

IKarbowiake7b7d5e6d5bc
diff --git a/saleor/graphql/account/types.py b/saleor/graphql/account/types.py
index 1beb2e9cab..c0e808d5ef 100644
--- a/saleor/graphql/account/types.py
+++ b/saleor/graphql/account/types.py
@@ -310,12 +310,9 @@ class User(CountableDjangoObjectType):
),
model_field="groups",
)
- editable_groups = gql_optimizer.field(
- graphene.List(
- "saleor.graphql.account.types.Group",
- description="List of user's permission groups which user can manage.",
- ),
- model_field="groups",
+ editable_groups = graphene.List(
+ "saleor.graphql.account.types.Group",
+ description="List of user's permission groups which user can manage.",
)
avatar = graphene.Field(Image, size=graphene.Int(description="Size of the avatar."))
events = gql_optimizer.field(