Fix bug on signup
This commit is contained in:
2
index.js
2
index.js
@@ -133,7 +133,7 @@ DB.getDB.then((DB) => {
|
|||||||
// If newUserObject it's an error message, we check by looking toLowerCase function
|
// If newUserObject it's an error message, we check by looking toLowerCase function
|
||||||
if (!newUserObject.toLowerCase) {
|
if (!newUserObject.toLowerCase) {
|
||||||
let user = {
|
let user = {
|
||||||
userid: toLowerCase.insertedId,
|
userid: newUserObject.insertedId,
|
||||||
profile: profile,
|
profile: profile,
|
||||||
}
|
}
|
||||||
// Filter the provided information by the template, and adding to the DB, and login.
|
// Filter the provided information by the template, and adding to the DB, and login.
|
||||||
|
|||||||
Reference in New Issue
Block a user