Submission history limit removed

This commit is contained in:
unknown 2025-12-17 10:07:04 +05:30
parent f64cb79c13
commit d2fadb866f

View File

@ -71,7 +71,7 @@ exports.getEstablishmentDashboard = async (req, res) => {
const submission_history = await Submission.findAll({
where: { establishment_id },
order: [["created_at", "DESC"]],
limit: 5,
// limit: 5,
attributes: {
include: [
[