diff --git a/posthog/api/organization_invite.py b/posthog/api/organization_invite.py index a5728213f85db..17452b3e994e3 100644 --- a/posthog/api/organization_invite.py +++ b/posthog/api/organization_invite.py @@ -60,7 +60,7 @@ def create(self, validated_data: Dict[str, Any], *args: Any, **kwargs: Any) -> O ) if is_email_available(with_absolute_urls=True): invite.emailing_attempt_made = True - send_invite.delay(invite_id=invite.id) + send_invite(invite_id=invite.id) invite.save() report_team_member_invited(