Skip to content

Commit

Permalink
Merge pull request #2813 from Leantime/notificationEventName
Browse files Browse the repository at this point in the history
Update Project Notification Event
  • Loading branch information
marcelfolaron authored Nov 23, 2024
2 parents 9760c39 + 2b11141 commit a97e80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Domain/Projects/Services/Projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public function notifyProjectUsers(Notification $notification): void
*
* @context domain.services.projects
*/
EventCore::dispatch_event('notifyProjectUsers', ['type' => 'projectUpdate', 'module' => $notification->module, 'moduleId' => $entityId, 'message' => $notification->message, 'subject' => $notification->subject, 'users' => $this->getAllUserInfoToNotify($notification->projectId), 'url' => $notification->url['url']], 'domain.services.projects');
self::dispatch_event('notifyProjectUsers', ['type' => 'projectUpdate', 'module' => $notification->module, 'moduleId' => $entityId, 'message' => $notification->message, 'subject' => $notification->subject, 'users' => $this->getAllUserInfoToNotify($notification->projectId), 'url' => $notification->url['url']], 'leantime.domain.projects.services.projects.notifyProjectUsers');
}

/**
Expand Down

0 comments on commit a97e80e

Please sign in to comment.