@ -32,9 +32,9 @@ module.exports.registerUser = (request, response) => {
})
newUser.save().then(save => {
return response.send(`${reqBody.email} is now registered!`)
return response.send(true)
}).catch(error => {
return response.send("Error encountered during registration!");
return response.send(false);
}