File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/sim/app/api/organizations/[id]/invitations Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ export async function POST(request: NextRequest, { params }: { params: Promise<{
339339 organizationEntry [ 0 ] ?. name || 'organization' ,
340340 role ,
341341 workspaceInvitationsWithNames ,
342- `${ env . NEXT_PUBLIC_APP_URL } /invite/organization?id= ${ orgInvitation . id } `
342+ `${ env . NEXT_PUBLIC_APP_URL } /invite/${ orgInvitation . id } `
343343 )
344344
345345 emailResult = await sendEmail ( {
@@ -352,7 +352,7 @@ export async function POST(request: NextRequest, { params }: { params: Promise<{
352352 const emailHtml = await renderInvitationEmail (
353353 inviter [ 0 ] ?. name || 'Someone' ,
354354 organizationEntry [ 0 ] ?. name || 'organization' ,
355- `${ env . NEXT_PUBLIC_APP_URL } /invite/organization?id= ${ orgInvitation . id } ` ,
355+ `${ env . NEXT_PUBLIC_APP_URL } /invite/${ orgInvitation . id } ` ,
356356 email
357357 )
358358
You can’t perform that action at this time.
0 commit comments