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

This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2022-06-06 14:59:46 +05:30
1 parent 879619e075
commit dd09854932
1 file changed
+1 -1
+1 -1
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);