membershipworks: Remove commented out line

This commit is contained in:
Adam Goldsmith 2024-04-30 01:22:58 -04:00
parent 99060a8a43
commit c2b1da743c

View File

@ -412,7 +412,6 @@ class EventInvoicePDFView(AccessMixin, BaseDetailView):
if request.user.has_perm( if request.user.has_perm(
"membershipworks.view_eventinvoice" "membershipworks.view_eventinvoice"
) or invoice.event.user_is_instructor(request.user): ) or invoice.event.user_is_instructor(request.user):
# return HttpResponse(invoice.pdf.path)
return sendfile(request, invoice.pdf.path, mimetype="application/pdf") return sendfile(request, invoice.pdf.path, mimetype="application/pdf")
else: else: