Solved a bug related to the creation of users
This commit is contained in:
@@ -88,7 +88,7 @@ async function post(req: NextApiRequest, res: NextApiResponse) {
|
|||||||
userId,
|
userId,
|
||||||
email: email.toLowerCase(),
|
email: email.toLowerCase(),
|
||||||
name: req.body.name,
|
name: req.body.name,
|
||||||
passport_id,
|
...(!!passport_id ? {passport_id} : {}),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (type === "corporate") {
|
if (type === "corporate") {
|
||||||
|
|||||||
Reference in New Issue
Block a user