Fix bug on signup

This commit is contained in:
Adolfo Reyna
2025-02-02 23:48:48 -05:00
parent d79138fba6
commit 9ab922f765

View File

@@ -133,7 +133,7 @@ DB.getDB.then((DB) => {
// If newUserObject it's an error message, we check by looking toLowerCase function
if (!newUserObject.toLowerCase) {
let user = {
userid: toLowerCase.insertedId,
userid: newUserObject.insertedId,
profile: profile,
}
// Filter the provided information by the template, and adding to the DB, and login.