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,
|
||||
email: email.toLowerCase(),
|
||||
name: req.body.name,
|
||||
passport_id,
|
||||
...(!!passport_id ? {passport_id} : {}),
|
||||
});
|
||||
|
||||
if (type === "corporate") {
|
||||
|
||||
Reference in New Issue
Block a user