notifications working

This commit is contained in:
isUnknown 2024-11-22 07:53:43 +01:00
parent 699c0bfa1d
commit 8ae00d7657
8 changed files with 28 additions and 202 deletions

View file

@ -1,7 +1,7 @@
<?php
return function($projectManagers, $notificationId) {
foreach ($projectManagers as $projectManager) {
return function($project, $notificationId) {
foreach ($project->managers() as $projectManager) {
try {
$notifications = $projectManager->notifications()->isNotEmpty()
? Yaml::decode($projectManager->notifications()->value())