Skip to content

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

Fix types

Adam Bogdał2792b684496e
diff --git a/saleor/graphql/extensions/sorters.py b/saleor/graphql/extensions/sorters.py
index d0d6bb0fe9..023150f0ec 100644
--- a/saleor/graphql/extensions/sorters.py
+++ b/saleor/graphql/extensions/sorters.py
@@ -24,7 +24,7 @@ def sort_plugins(
else:
plugins = sorted(plugins, key=lambda p: p.PLUGIN_NAME)
if sort_reverse:
- plugins = reversed(plugins)
+ plugins = list(reversed(plugins))
return plugins