Skip to content

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

Fix decorator call

Artur Smęt7facc1407d9d
diff --git a/saleor/checkout/core.py b/saleor/checkout/core.py
index e89af235ae..21469ebed9 100644
--- a/saleor/checkout/core.py
+++ b/saleor/checkout/core.py
@@ -318,7 +318,7 @@ class Checkout(object):
def load_checkout(view):
@wraps(view)
- @get_or_empty_db_cart
+ @get_or_empty_db_cart()
def func(request, cart):
try:
session_data = request.session[STORAGE_SESSION_KEY]