This commit is contained in:
Classic298
2026-01-22 20:30:07 +04:00
committed by GitHub
parent 9af40624c5
commit 5a0488bb18
4 changed files with 29 additions and 8 deletions
@@ -147,6 +147,14 @@
text = text.replaceAll('{{USER_NAME}}', name);
}
if (text.includes('{{USER_EMAIL}}')) {
const email = sessionUser?.email || '';
if (email) {
text = text.replaceAll('{{USER_EMAIL}}', email);
}
}
if (text.includes('{{USER_BIO}}')) {
const bio = sessionUser?.bio || '';
@@ -221,6 +221,14 @@
text = text.replaceAll('{{USER_NAME}}', name);
}
if (text.includes('{{USER_EMAIL}}')) {
const email = sessionUser?.email || '';
if (email) {
text = text.replaceAll('{{USER_EMAIL}}', email);
}
}
if (text.includes('{{USER_BIO}}')) {
const bio = sessionUser?.bio || '';