feat: nambahin link field di Notification
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user