Skip to content

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

Replace update dictionary

TOMEKaacafb264621
diff --git a/saleor/account/emails.py b/saleor/account/emails.py
index 8c90aaa559..30add6dbee 100644
--- a/saleor/account/emails.py
+++ b/saleor/account/emails.py
@@ -29,7 +29,7 @@ def send_account_delete_confirmation_email(token, recipient_email):
delete_url = build_absolute_uri(
reverse('account:delete-confirm', kwargs={'token': token}))
ctx = get_email_base_context()
- ctx.update({'url': delete_url})
+ ctx['url'] = delete_url
send_templated_mail(
template_name='account/account_delete',
from_email=settings.DEFAULT_FROM_EMAIL,