Update portfolios.py

This commit is contained in:
zandercymatics 2024-12-12 15:40:36 -07:00
parent f6e95cc4f8
commit 2d0c4e7b1d
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -494,9 +494,11 @@ class NewMemberView(PortfolioInvitationCreatePermissionView):
if self.is_ajax():
return JsonResponse({"is_valid": True})
# TODO: #3019
# TODO: #3019 - this will probably have to be a small try/catch. Stub for posterity.
# requested_email = form.cleaned_data.get("email")
# self.send_portfolio_invitation_email(requested_email)
# send_success = self.send_portfolio_invitation_email(requested_email)
# if not send_success:
# return
# Create instance using form's mapping method
self.object = form.map_cleaned_data_to_instance(