Submission history limit removed
This commit is contained in:
parent
f64cb79c13
commit
d2fadb866f
@ -71,7 +71,7 @@ exports.getEstablishmentDashboard = async (req, res) => {
|
|||||||
const submission_history = await Submission.findAll({
|
const submission_history = await Submission.findAll({
|
||||||
where: { establishment_id },
|
where: { establishment_id },
|
||||||
order: [["created_at", "DESC"]],
|
order: [["created_at", "DESC"]],
|
||||||
limit: 5,
|
// limit: 5,
|
||||||
attributes: {
|
attributes: {
|
||||||
include: [
|
include: [
|
||||||
[
|
[
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user