Explorar o código

fix(api): removed dead code

Nils Wisiol %!s(int64=8) %!d(string=hai) anos
pai
achega
0bcb8dc4f0
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      api/desecapi/views.py

+ 0 - 1
api/desecapi/views.py

@@ -406,7 +406,6 @@ class DonationList(generics.CreateAPIView):
             if donation.email:
                 content_tmpl = get_template('emails/donation/donor-content.txt')
                 subject_tmpl = get_template('emails/donation/donor-subject.txt')
-                test = content_tmpl.render(context)
                 email = EmailMessage(subject_tmpl.render(context),
                                      content_tmpl.render(context),
                                      from_tmpl.render(context),