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: