Skip to content

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

remove unused variable `query_cost` (#11989)

Glib882536fe57d0
diff --git a/saleor/graphql/views.py b/saleor/graphql/views.py
index d4537813a4..c2d98fd4e8 100644
--- a/saleor/graphql/views.py
+++ b/saleor/graphql/views.py
@@ -269,7 +269,6 @@ class GraphQLView(View):
)
query, variables, operation_name = self.get_graphql_params(request, data)
- query_cost = 0
document, error = self.parse_query(query)
with observability.report_gql_operation() as operation: