update: remove the redundant call to fetch the topic document again.
This commit is contained in:
parent
ffbf3c0058
commit
f2305c2b6c
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue