Skip to content

Commit 9e7a5c8

Browse files
committed
fix organizer dashboard return error
1 parent 0701e64 commit 9e7a5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/organizerDashboardController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const totalTicketSale = async (req, res) => {
8282
totalTicketSaleByType: resultArray,
8383
toalTicketByPayment: toalTicketByPayment,
8484
};
85-
return res.json(ticketPromises);
85+
return res.json(returnValues);
8686
};
8787

8888
const getAllOverviewData = async (req, res) => {

0 commit comments

Comments
 (0)