You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
html: `Your exam "${exam.title}" has been created.<br/>
69
+
if(!process.env.FUNCTIONS_EMULATOR){
70
+
awaitmail.add({
71
+
to: owner,
72
+
message: {
73
+
subject: "Exam created",
74
+
html: `Your exam "${exam.title}" has been created.<br/>
74
75
<br/>
75
76
${
76
77
exam.private
@@ -84,12 +85,16 @@ Access the exam by using this link: <a href="https://examtraining.online/${slug}
84
85
In order to make changes to this exam, you need an edit code.<br/>
85
86
The edit code is: <code>${editCode}</code><br/>
86
87
Edit the exam by using this link: <a href="https://examtraining.online/${slug}/edit?editCode=${editCode}">https://examtraining.online/${slug}/edit?editCode=${editCode}</a>`,
html: `Your exam "${exam.title}" is now private.<br/>
67
68
<br/>
68
69
In order to view it you need an access code.<br/>
69
70
The access code is: <code>${secrets.data()!.accessCode}</code><br/>
70
71
Access the exam by using this link: <a href="https://examtraining.online/${data.slug}?accessCode=${secrets.data()!.accessCode}">https://examtraining.online/${data.slug}?accessCode=${secrets.data()!.accessCode}</a><br/>
71
72
<br/>`,
72
-
},
73
-
});
73
+
},
74
+
});
75
+
}
74
76
}
75
77
76
78
logger.info({message: "edited exam details", data });
0 commit comments