diff --git a/controllers/contentControllers/topic.js b/controllers/contentControllers/topic.js index 71be894..16f41d2 100644 --- a/controllers/contentControllers/topic.js +++ b/controllers/contentControllers/topic.js @@ -40,9 +40,9 @@ export const getTopicBySectionId = async (req, res) => { where: { ID_SECTION: sectionId }, }); - if (!topics || topics.length === 0) { - return response(404, null, "No topics found for this section", res); - } + // if (!topics || topics.length === 0) { + // return response(404, null, "No topics found for this section", res); + // } response(200, topics, "Success", res); } catch (error) {