Jake Vanderwerf
2026-08-25 3d25ad7de4fdbb3eba2cde2a62422e6be5d79a0a
inc/rest/routes/NotificationsRoutes.php
@@ -1,6 +1,7 @@
<?php
namespace JVBase\rest\routes;
use JVBase\Instance;
use JVBase\managers\Cache;
use JVBase\managers\CustomTable;
use JVBase\registrar\Registrar;
@@ -23,6 +24,7 @@
 */
class NotificationsRoutes extends Rest
{
   use Instance;
   protected int $user_id;
   protected array $notification_types = [];
   protected object $manager;
@@ -133,7 +135,7 @@
    */
   public function init(): void
   {
      $this->manager = JVB()->notification();
      $this->manager = NotificationManager::getInstance();
      $this->notification_types = $this->manager->getNotificationTypes(true);
   }
@@ -967,7 +969,7 @@
      }
      if (!empty($queueData)) {
         JVB()->queue()->queueOperation(
         Queue::getInstance()->queueOperation(
            'notification_' . $action,
            $args['user_id'],
            $queueData