Skip to content

Commit

Permalink
Merge pull request #69 from LinThit27/feature/fix-organizer-dashboard…
Browse files Browse the repository at this point in the history
…-bardata

fix organizer dashboard return error
  • Loading branch information
LinThitHtwe authored Dec 7, 2023
2 parents 0701e64 + 9e7a5c8 commit 1dbcca2
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 1dbcca2

Please sign in to comment.