Răsfoiți Sursa

Update email for questions to contain the lecture and question id's.

Lee Morgan 4 ani în urmă
părinte
comite
341fdcc448
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      controllers/learn.js

+ 1 - 1
controllers/learn.js

@@ -288,7 +288,7 @@ module.exports = {
                         from: "Lee Morgan <learn@leemorgan.io>",
                         from: "Lee Morgan <learn@leemorgan.io>",
                         to: "me@leemorgan.io",
                         to: "me@leemorgan.io",
                         subject: question.title,
                         subject: question.title,
-                        text: question.content
+                        text: `Lecture: ${lecture._id}\n${question.content}`
                     })
                     })
                 })
                 })
                 .catch((err)=>{
                 .catch((err)=>{