updates to cart section of api

This commit is contained in:
Mikayla Dobson
2022-09-27 17:23:39 -05:00
parent d99cf5bb8a
commit 9c80989860
4 changed files with 22 additions and 14 deletions

View File

@@ -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
}