From be72261f5de190a46d5411c63bf37b413a14628a Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Wed, 17 Mar 2021 12:46:45 +0100 Subject: [PATCH] BUGFIX: name in surveymail for Travel should be project not request_url --- input/management/commands/sendmails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/management/commands/sendmails.py b/input/management/commands/sendmails.py index 4494851..8b274ec 100644 --- a/input/management/commands/sendmails.py +++ b/input/management/commands/sendmails.py @@ -135,7 +135,7 @@ class Command(BaseCommand): supported = Travel.objects.filter(project__granted=True)\ .filter(project__end__lt = date.today() - timedelta(days=21))\ .exclude(survey_mail_send=True) - self.surveymails_to_object(supported, type='TRAV', name='request_url') + self.surveymails_to_object(supported, type='TRAV', name='project') def surveymails_to_mail_vis_lis(self): '''send survey link 2 weeks after mailadresss, mailinglist or businesscards are granted'''