Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix wrong argument
fowczarek4a121ca23586
diff --git a/saleor/account/views.py b/saleor/account/views.pyindex 376cf2b926..cff5da6309 100755--- a/saleor/account/views.py+++ b/saleor/account/views.py@@ -13,8 +13,8 @@ from ..checkout.utils import find_and_assign_anonymous_cartfrom ..core.utils import get_paginator_itemsfrom .emails import send_account_delete_confirmation_emailfrom .forms import (- ChangePasswordForm, LoginForm, PasswordResetForm, SignupForm,- get_address_form, logout_on_password_change, NameForm)+ ChangePasswordForm, LoginForm, NameForm, PasswordResetForm, SignupForm,+ get_address_form, logout_on_password_change)@find_and_assign_anonymous_cart()diff --git a/saleor/search/documents.py b/saleor/search/documents.pyindex 060d37f4ba..c5ede23f16 100644--- a/saleor/search/documents.py+++ b/saleor/search/documents.py@@ -45,10 +45,10 @@ class UserDocument(DocType):return instance.emaildef prepare_first_name(self, instance):- return get_user_first_name(self)+ return get_user_first_name(instance)def prepare_last_name(self, instance):- return get_user_last_name(self)+ return get_user_last_name(instance)class Meta:model = User