Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Unstrange the logic. Fixes #2733
[email protected]0ba8bfab182b
diff --git a/saleor/settings.py b/saleor/settings.pyindex 834500eb05..319799bb02 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -480,7 +480,7 @@ SOCIAL_AUTH_REDIRECT_IS_HTTPS = True# CELERY SETTINGSCELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL', os.environ.get('CLOUDAMQP_URL')) or ''-CELERY_TASK_ALWAYS_EAGER = False if CELERY_BROKER_URL else True+CELERY_TASK_ALWAYS_EAGER = not CELERY_BROKER_URLCELERY_ACCEPT_CONTENT = ['json']CELERY_TASK_SERIALIZER = 'json'CELERY_RESULT_SERIALIZER = 'json'