From 3f6a4b990fd6ddc36171750aa645ff84e5fa6d78 Mon Sep 17 00:00:00 2001 From: Tim Turner <1414401+tturnerdev@users.noreply.github.com> Date: Mon, 27 Apr 2026 22:49:13 -0700 Subject: [PATCH] fix(teams): add /accept path to team invitation email URL The invitation email linked to /teams/{id}/invitations/{id} but the frontend route for accepting is at .../accept. Without the suffix, the URL falls through to the team detail page. Co-Authored-By: Claude Opus 4.6 --- src/py/app/domain/teams/listeners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/app/domain/teams/listeners.py b/src/py/app/domain/teams/listeners.py index 64af7ebd5..6cf6671d9 100644 --- a/src/py/app/domain/teams/listeners.py +++ b/src/py/app/domain/teams/listeners.py @@ -71,7 +71,7 @@ async def team_invitation_created_event_handler(invitation_id: UUID, mailer: App invitee_email=invitation.email, inviter_name=inviter.name or inviter.email, team_name=team.name, - invitation_url=f"{mailer.base_url}/teams/{team.id}/invitations/{invitation.id}", + invitation_url=f"{mailer.base_url}/teams/{team.id}/invitations/{invitation.id}/accept", ) await logger.ainfo("Sent team invitation email", invitation_id=invitation.id)