changes for mongo port

This commit is contained in:
2025-02-04 10:15:51 +05:30
parent 9017b2275c
commit 335f43573b
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ services:
image: mongo:latest image: mongo:latest
container_name: mongo-Dwinzocontainer container_name: mongo-Dwinzocontainer
ports: ports:
- "27017:27017" - "27020:27017"
volumes: volumes:
- mongo-data:/data/db - mongo-data:/data/db
networks: networks:

View File

@@ -50,7 +50,7 @@ export class user {
}); });
if (existingMail === null || !existingMail) { if (existingMail === null || !existingMail) {
res.status(404).json({ message: "User Not Found!!! Kindly signup..." }); res.status(401).json({ message: "User Not Found!!! Kindly signup..." });
} else { } else {
const hashedpassword= existingMail.password const hashedpassword= existingMail.password
const checkpassword = await hashValidator( const checkpassword = await hashValidator(