Hotfix: fixed callback URL for team invite email (#2975)

pull/2977/head
Syed Ali Shahbaz 2022-06-06 14:07:53 +05:30 committed by GitHub
parent 2344a4da13
commit b9428301b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
from: session.user.name,
to: usernameOrEmail,
teamName: team.name,
joinLink: `${BASE_URL}/auth/signup?token=${token}&callbackUrl=${BASE_URL + "/settings/teams"}`,
joinLink: `${BASE_URL}/auth/signup?token=${token}&callbackUrl=/settings/teams}`,
};
await sendTeamInviteEmail(teamInviteEvent);