Skip to content

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

update price_range_as_dict function

Martín Josemaríaf92594e37d79
diff --git a/saleor/product/utils/variants_picker.py b/saleor/product/utils/variants_picker.py
index e423c56c42..871c935e27 100644
--- a/saleor/product/utils/variants_picker.py
+++ b/saleor/product/utils/variants_picker.py
@@ -88,5 +88,5 @@ def price_range_as_dict(price_range):
if not price_range:
return None
return {
- 'maxPrice': price_as_dict(price_range.start),
- 'minPrice': price_as_dict(price_range.stop)}
+ 'minPrice': price_as_dict(price_range.start),
+ 'maxPrice': price_as_dict(price_range.stop)}