From 6aedfbd42e3ebf0169cc106ca9ce1e4f84a75b2e Mon Sep 17 00:00:00 2001 From: Bernd Mohring <96518240+tromboman@users.noreply.github.com> Date: Thu, 22 Sep 2022 21:56:19 +0200 Subject: [PATCH] Docs: Correct Parameter Name/Description for mail() (#2814) --- src/pretix/base/services/mail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/base/services/mail.py b/src/pretix/base/services/mail.py index 68a37704e..f0c8c7030 100644 --- a/src/pretix/base/services/mail.py +++ b/src/pretix/base/services/mail.py @@ -121,7 +121,7 @@ def mail(email: Union[str, Sequence[str]], subject: str, template: Union[str, La :param order: The order this email is related to (optional). If set, this will be used to include a link to the order below the email. - :param order: The order position this email is related to (optional). If set, this will be used to include a link + :param position: The order position this email is related to (optional). If set, this will be used to include a link to the order position instead of the order below the email. :param headers: A dict of custom mail headers to add to the mail @@ -141,7 +141,7 @@ def mail(email: Union[str, Sequence[str]], subject: str, template: Union[str, La :param user: The user this email is sent to - :param customer: The user this email is sent to + :param customer: The customer this email is sent to :param attach_cached_files: A list of cached file to attach to this email.