diff --git a/api/v1/submissions/PKPSubmissionHandler.php b/api/v1/submissions/PKPSubmissionHandler.php index a84a04ee6fc..f537f8cc8d6 100644 --- a/api/v1/submissions/PKPSubmissionHandler.php +++ b/api/v1/submissions/PKPSubmissionHandler.php @@ -743,6 +743,16 @@ public function submit(SlimRequest $slimRequest, APIResponse $response, array $a Repo::eventLog()->add($eventLog); } + + $notificationManager = new NotificationManager(); + $notificationManager->updateNotification( + Application::get()->getRequest(), + [PKPNotification::NOTIFICATION_TYPE_APPROVE_SUBMISSION], + null, + PKPApplication::ASSOC_TYPE_SUBMISSION, + $submission->getId() + ); + $userGroups = Repo::userGroup() ->getCollector() ->filterByContextIds([$context->getId()])