first commmit

This commit is contained in:
pawan-dot 2023-03-07 11:44:22 +05:30
parent f1c90c9d3e
commit 103875ea90
2 changed files with 9 additions and 9 deletions

16
.env
View File

@ -1,17 +1,17 @@
DB_URL="mongodb+srv://projectjatinmor:fTXdYGKiG9EyXtii@cluster0.baojdkn.mongodb.net/?retryWrites=true&w=majority"
DB_URL="mongodb+srv://projectboloai:kNe1zksKjiIrnJjV@cluster0.r7lfhbq.mongodb.net/?retryWrites=true&w=majority"
PORT = 5000
JWT_SECRET = jdvnvjwrniwj4562jn6@1xsbfeh@wre4Njdf;
// Jatin Mor cloudinary credential
CLOUDINARY_NAME = "dg8dcfqp7"
CLOUDINARY_API_KEY = "458619733688194"
CLOUDINARY_API_SECRET = "fW3PekVZn_BOUX9GkzxyvOZZVs4"
// Bolo cloudinary credential
CLOUDINARY_NAME = "dm67sfzy9"
CLOUDINARY_API_KEY = "273994277622484"
CLOUDINARY_API_SECRET = "TdSA4RDXcafrTk5cQHXyZo-nY-o"
SEND_EMAIL_FROM="project.jatinmor@gmail.com"
SEND_EMAIL_FROM="project.boloai@gmail.com"
# Jatin Mor
SENDGRID_API_KEY="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"
# Bolo Ai
SENDGRID_API_KEY="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"

View File

@ -129,7 +129,7 @@ export const forgotPassword = async (req, res, next) => {
from: `${process.env.SEND_EMAIL_FROM}`, // Change to your verified sender
subject: `JAtin Mor Password Recovery`,
subject: `Bolo Ai Password Recovery`,
html: `your new password is: <br/> <strong> ${passwords}</strong><br/><br/>If you have not requested this email then, please ignore it.`
});