1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

update: remove the redundant call to fetch the topic document again.

This commit is contained in:
ItzNotABug 2024-04-01 13:46:09 +05:30
parent ffbf3c0058
commit f2305c2b6c

View file

@ -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);
});