Skip to content

Commit

Permalink
fix: remove delay on invite teammate emails (#19796)
Browse files Browse the repository at this point in the history
remove delay on invite teammate emails
  • Loading branch information
xrdt authored Jan 17, 2024
1 parent 9658237 commit 201af4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/api/organization_invite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 201af4d

Please sign in to comment.