From c2b1da743c74fc4ce1a6940b66fc95002f418859 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 30 Apr 2024 01:22:58 -0400 Subject: [PATCH] membershipworks: Remove commented out line --- membershipworks/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/membershipworks/views.py b/membershipworks/views.py index 1166393..b0967e0 100644 --- a/membershipworks/views.py +++ b/membershipworks/views.py @@ -412,7 +412,6 @@ class EventInvoicePDFView(AccessMixin, BaseDetailView): if request.user.has_perm( "membershipworks.view_eventinvoice" ) or invoice.event.user_is_instructor(request.user): - # return HttpResponse(invoice.pdf.path) return sendfile(request, invoice.pdf.path, mimetype="application/pdf") else: