diff --git a/controllers/organizerDashboardController.js b/controllers/organizerDashboardController.js index 04c6317..937869a 100644 --- a/controllers/organizerDashboardController.js +++ b/controllers/organizerDashboardController.js @@ -82,7 +82,7 @@ const totalTicketSale = async (req, res) => { totalTicketSaleByType: resultArray, toalTicketByPayment: toalTicketByPayment, }; - return res.json(ticketPromises); + return res.json(returnValues); }; const getAllOverviewData = async (req, res) => {