changes for mongo port
This commit is contained in:
@@ -36,7 +36,7 @@ services:
|
||||
image: mongo:latest
|
||||
container_name: mongo-Dwinzocontainer
|
||||
ports:
|
||||
- "27017:27017"
|
||||
- "27020:27017"
|
||||
volumes:
|
||||
- mongo-data:/data/db
|
||||
networks:
|
||||
|
||||
@@ -50,7 +50,7 @@ export class user {
|
||||
});
|
||||
|
||||
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 {
|
||||
const hashedpassword= existingMail.password
|
||||
const checkpassword = await hashValidator(
|
||||
|
||||
Reference in New Issue
Block a user