add more things

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-08-14 02:21:14 +08:00
parent 9ec76ff64d
commit 1029177a91
4 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ exports.getPlans = async (req, res) => {
const plans = await mdl_TierPlans.findAll({
where: { status: 'published' },
order: [['tier', 'ASC'], ['duration_days', 'ASC']],
attributes: ['plan_id', 'tier', 'label', 'description', 'features', 'duration_days', 'duration_unit', 'price', 'currency', 'is_active'],
attributes: ['plan_id', 'tier', 'label', 'description', 'features', 'duration_days', 'duration_unit', 'price', 'currency', 'is_active', 'is_recommended'],
include: [
{
model: Course,