feat: Add a fresh signup to matching organization after email verification (#15705)
* Support automatically adding user to organization * Use Repository * Fix unit test * Code Improvements * Fix type error --------- Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
1 parent
a74522af3d
commit
5becc95fc4
14 files changed
+419
-84
No files matched your search
@@ -43,7 +43,6 @@ async function postHandler(req: NextApiRequest, res: NextApiResponse) {
|
||||
language: data.language,
|
||||
teamId: data.teamId,
|
||||
usernameOrEmail: data.usernameOrEmail,
|
||||
isOrg: data.isOrg,
|
||||
});
|
||||
|
||||
return { success: true, message: `${data.usernameOrEmail} has been invited.` };
|
||||
|
||||
Reference in new issue
Block a user