Skip to content

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

Add checkoutDeliveryMethodUpdate to whitelisted mutations for demo mode (#9754)

Maciej Korycinski01d78b28b51f
diff --git a/saleor/graphql/middleware.py b/saleor/graphql/middleware.py
index 68708a85b2..afbca2debc 100644
--- a/saleor/graphql/middleware.py
+++ b/saleor/graphql/middleware.py
@@ -12,6 +12,7 @@ class ReadOnlyMiddleware:
"checkoutCreate",
"checkoutCustomerAttach",
"checkoutCustomerDetach",
+ "checkoutDeliveryMethodUpdate",
"checkoutEmailUpdate",
"checkoutLineDelete",
"checkoutLinesAdd",