Skip to content

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

Fix order of keys in ProductVariantTranslatableContent (#18498)

Jan Křečeka6459db826a3
diff --git a/saleor/graphql/translations/types.py b/saleor/graphql/translations/types.py
index 77add6e96f..626cd45b14 100644
--- a/saleor/graphql/translations/types.py
+++ b/saleor/graphql/translations/types.py
@@ -320,14 +320,14 @@ class ProductVariantTranslatableContent(ModelObjectType[product_models.ProductVa
if all_permissions_required(info.context, [ProductPermissions.MANAGE_PRODUCTS]):
return (
AttributesByProductVariantIdAndSelectionAndLimitLoader(info.context)
- .load((root.id, variant_selection, limit))
+ .load((root.id, limit, variant_selection))
.then(with_attributes)
)
return (
AttributesVisibleToCustomerByProductVariantIdAndSelectionAndLimitLoader(
info.context
)
- .load((root.id, variant_selection, limit))
+ .load((root.id, limit, variant_selection))
.then(with_attributes)
)