Skip to content

Commit

Permalink
fix: Consertando bug na consulta do ano de 2013
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacbatista26 committed Sep 3, 2024
1 parent 44791d8 commit db8a901
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/services/tendersMonthService.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ async function getTendersByMonth(start, end) {
);
}

query = query.order('year', {ascending: true }).order('month', { ascending: true });

const { data, error } = await query;

if (error) {
Expand Down

0 comments on commit db8a901

Please sign in to comment.