updates to cart section of api
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = class AuthService {
|
||||
bcrypt.hash(password, salt, (err, hash) => {
|
||||
if (err) throw err;
|
||||
const newData = {
|
||||
email: email,
|
||||
...data,
|
||||
password: hash
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user