diff --git a/app/controllers/api/messaging.php b/app/controllers/api/messaging.php index 8951839039..7dbe26b34a 100644 --- a/app/controllers/api/messaging.php +++ b/app/controllers/api/messaging.php @@ -2126,8 +2126,6 @@ App::get('/v1/messaging/topics/:topicId') throw new Exception(Exception::TOPIC_NOT_FOUND); } - $topic = $dbForProject->getDocument('topics', $topicId); - $response ->dynamic($topic, Response::MODEL_TOPIC); });