Skip to content

Commit

Permalink
enhance invitation feature with email notifications and referral links
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 committed Jan 13, 2025
1 parent ce93c2f commit af770dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ def post(self, request, *args, **kwargs):
except smtplib.SMTPException as e:
return Response(
{
"error": f"Failed to send invitation: {str(e)}",
"error": "Failed to send invitation email for an unexpected reason",
"email_status": "error",
},
status=500,
Expand Down

0 comments on commit af770dc

Please sign in to comment.