Skip to content

Commit

Permalink
fix organizer dashboard return error
Browse files Browse the repository at this point in the history
  • Loading branch information
LinThitHtwe committed Dec 7, 2023
1 parent 0701e64 commit 9e7a5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/organizerDashboardController.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 9e7a5c8

Please sign in to comment.