Skip to content

Commit

Permalink
Convert emailID to lowercase in emailRoutes.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hppanpaliya committed Jan 22, 2024
1 parent f5ff8ba commit 417b248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mailserver/emailRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ router.get("/email/:emailID/:email_id", async (req, res) => {
try {
let { email_id } = req.params;
let { emailID } = req.params;
emailID = emailID.toLowerCase();
console.log("email_id", email_id);
const db = getDB();
const collection = db.collection(emailID);
Expand Down

0 comments on commit 417b248

Please sign in to comment.