mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
fix: typo in sequelize method
This commit is contained in:
@@ -87,7 +87,7 @@ exports.index = async (req, res) => {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const { count, rows: tickets } = await Ticket.findAndCoundtAll({
|
const { count, rows: tickets } = await Ticket.findAndCountAll({
|
||||||
where: whereCondition,
|
where: whereCondition,
|
||||||
distinct: true,
|
distinct: true,
|
||||||
include: includeCondition,
|
include: includeCondition,
|
||||||
|
|||||||
Reference in New Issue
Block a user