changes for mongo port
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user