mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
refactor(invitation): simplify buildInvitationUrl by removing email parameter
This commit is contained in:
@@ -160,7 +160,7 @@ export async function POST(request: NextRequest, { params }: RouteParams) {
|
||||
projectId,
|
||||
});
|
||||
|
||||
const invitationUrl = buildInvitationUrl(invitation.token, normalizedEmail);
|
||||
const invitationUrl = buildInvitationUrl(invitation.token);
|
||||
void sendInvitationEmail({
|
||||
to: normalizedEmail,
|
||||
inviterName: session.user.name || 'A team member',
|
||||
|
||||
Reference in New Issue
Block a user