Browse Source

fix(api): removed dead code

Nils Wisiol 8 năm trước cách đây
mục cha
commit
0bcb8dc4f0
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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),