Loading Controllers/api/v1/comments.php +3 −3 Original line number Diff line number Diff line Loading @@ -146,9 +146,9 @@ class comments implements Interfaces\Api default: $entity = Core\Di\Di::_()->get('EntitiesBuilder')->single($pages[0]); if ($entity instanceof Entities\Activity && $entity->remind_object) { $entity = (object) $entity->remind_object; } // if ($entity instanceof Entities\Activity && $entity->remind_object) { // $entity = (object) $entity->remind_object; // } if (!$pages[0] || !$entity || $entity->type == 'comment') { return Factory::response([ Loading Loading
Controllers/api/v1/comments.php +3 −3 Original line number Diff line number Diff line Loading @@ -146,9 +146,9 @@ class comments implements Interfaces\Api default: $entity = Core\Di\Di::_()->get('EntitiesBuilder')->single($pages[0]); if ($entity instanceof Entities\Activity && $entity->remind_object) { $entity = (object) $entity->remind_object; } // if ($entity instanceof Entities\Activity && $entity->remind_object) { // $entity = (object) $entity->remind_object; // } if (!$pages[0] || !$entity || $entity->type == 'comment') { return Factory::response([ Loading