feat: nambahin link field di Notification

This commit is contained in:
Rafi Athallah
2026-07-06 21:04:43 +07:00
parent 8e28e2c716
commit 38b5d54da5
7 changed files with 24 additions and 9 deletions
@@ -91,7 +91,8 @@ class ProjectService {
await notificationService.createNotificationForIntern(
idUser,
"Diterima ke Proyek",
`Anda telah bergabung ke proyek '${project.project_name}'.`
`Anda telah bergabung ke proyek '${project.project_name}'.`,
`/intern/projects/${project.slug}`
).catch(err => console.error("Failed to send project assignment notification:", err));
}
@@ -528,7 +529,8 @@ class ProjectService {
await notificationService.createNotificationForIntern(
id_user,
"Diterima ke Proyek",
`Anda telah bergabung ke proyek '${project.project_name}'.`
`Anda telah bergabung ke proyek '${project.project_name}'.`,
`/intern/projects/${project.slug}`
).catch(err => console.error("Failed to send project assignment notification:", err));
return data(membership);