Skip to content

Commit 1dbcca2

Browse files
authored
Merge pull request #69 from LinThit27/feature/fix-organizer-dashboard-bardata
fix organizer dashboard return error
2 parents 0701e64 + 9e7a5c8 commit 1dbcca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/organizerDashboardController.js

Lines changed: 1 addition & 1 deletion
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)