update
All checks were successful
Deploy to Production / deploy (push) Successful in 20s

This commit is contained in:
silverpro89
2026-02-18 18:01:45 +07:00
parent 09e72e37e7
commit b7ba1d02b3
10 changed files with 1207 additions and 1248 deletions

View File

@@ -96,8 +96,7 @@ exports.getAllStories = async (req, res) => {
where,
limit: parseInt(limit),
offset,
order: [[sort_by, sort_order.toUpperCase()]],
attributes: ['id', 'name', 'logo', 'grade', 'tag', 'created_at', 'updated_at']
order: [[sort_by, sort_order.toUpperCase()]]
});
res.json({