updateeeeeeeeeee

This commit is contained in:
mahyargdz
2024-12-31 15:10:46 +03:30
parent c7251f7c27
commit 27e27a9eb7
5 changed files with 154 additions and 169 deletions
-2
View File
@@ -130,8 +130,6 @@ module.exports.getAllForAdmin = async (req, res) => {
const totalDocuments = await Withdraw.countDocuments(matchStage)
console.log(data)
// const [data, totalDocuments] = await Promise.all([
// Withdraw.aggregate(aggregationPipeline),
// Withdraw.countDocuments(matchStage)