feat: memperbarui url email dan link notif menyesuaikan domain production internify
This commit is contained in:
@@ -71,7 +71,7 @@ const sendStatusEmail = async (lamaran, status, generatedPassword = null) => {
|
|||||||
: `<p style="margin: 5px 0;"><strong>Password:</strong> Gunakan password akun portal Anda sebelumnya.</p>`
|
: `<p style="margin: 5px 0;"><strong>Password:</strong> Gunakan password akun portal Anda sebelumnya.</p>`
|
||||||
}
|
}
|
||||||
<p style="margin: 5px 0;">
|
<p style="margin: 5px 0;">
|
||||||
<strong>Portal Intern: </strong> <a href="..." style="color: #007bff;"> ... </a>
|
<strong>Portal Intern: </strong> <a href="http://internify.humicprototyping.net/internship" style="color: #007bff;"> http://internify.humicprototyping.net/internship </a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p style="margin-bottom: 0; font-size: 13px; color: #555; font-family: sans-serif;">
|
<p style="margin-bottom: 0; font-size: 13px; color: #555; font-family: sans-serif;">
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ class ProjectService {
|
|||||||
idUser,
|
idUser,
|
||||||
"Diterima ke Proyek",
|
"Diterima ke Proyek",
|
||||||
`Anda telah bergabung ke proyek '${project.project_name}'.`,
|
`Anda telah bergabung ke proyek '${project.project_name}'.`,
|
||||||
`/intern/projects/${project.slug}`
|
`/internship/projects/${project.slug}`
|
||||||
).catch(err => console.error("Failed to send project assignment notification:", err));
|
).catch(err => console.error("Failed to send project assignment notification:", err));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -713,7 +713,7 @@ class ProjectService {
|
|||||||
id_user,
|
id_user,
|
||||||
"Diterima ke Proyek",
|
"Diterima ke Proyek",
|
||||||
`Anda telah bergabung ke proyek '${project.project_name}'.`,
|
`Anda telah bergabung ke proyek '${project.project_name}'.`,
|
||||||
`/intern/projects/${project.slug}`
|
`/internship/projects/${project.slug}`
|
||||||
).catch(err => console.error("Failed to send project assignment notification:", err));
|
).catch(err => console.error("Failed to send project assignment notification:", err));
|
||||||
|
|
||||||
return data(membership);
|
return data(membership);
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ class TaskService {
|
|||||||
project.id,
|
project.id,
|
||||||
"Tugas Baru Ditambahkan",
|
"Tugas Baru Ditambahkan",
|
||||||
`Mentor telah membuat tugas baru: '${task.title}' di proyek '${project.project_name}'.`,
|
`Mentor telah membuat tugas baru: '${task.title}' di proyek '${project.project_name}'.`,
|
||||||
`/intern/projects/${project.slug}/${task.slug}`
|
`/internship/projects/${project.slug}/${task.slug}`
|
||||||
).catch(err => console.error("Failed to send task creation notifications:", err));
|
).catch(err => console.error("Failed to send task creation notifications:", err));
|
||||||
|
|
||||||
return data(this.mapTask(task));
|
return data(this.mapTask(task));
|
||||||
|
|||||||
Reference in New Issue
Block a user