Skip to content

Commit

Permalink
Update authAuction.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
talafarael committed Apr 2, 2024
1 parent 1437898 commit 327210f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Router/authAuction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ class authAuction {
const {checkOwner} = await checkUserOwner({res, user, _id})
const passwordUser: number = Math.floor(Math.random() * 8999) + 1000
const hashPassword = await bcrypt.hash(passwordUser.toString(), 7)
await AuctionDelete.deleteOne({id: _id})
await AuctionDelete.deleteOne({idUser: id,})


await passwordSendDelete.sendmessage({
Expand Down

0 comments on commit 327210f

Please sign in to comment.