Browse Source

需求browser触发为reviewed_by

kely 10 months ago
parent
commit
9507812ffe
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Listeners/SendActionBrowserNotification.php

+ 1 - 0
app/Listeners/SendActionBrowserNotification.php

@@ -39,6 +39,7 @@ class SendActionBrowserNotification implements ShouldQueue
 
         $userIds = match ($actionObjectType) {
             ActionObjectType::TASK => $object->assign > 0 ? [$object->assign] : [],
+            ActionObjectType::REQUIREMENT=>$object->reviewed_by > 0 ? [$object->reviewed_by ] :[],
             default => [],
         };