Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonassimoen committed Jun 11, 2024
1 parent e18b33f commit 9962954
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/Club.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const GetClubsHandler = async (req: any, rep: any) => {
swr: 60,
},
orderBy: {
name: 'desc'
name: 'asc'
}
});
rep.send(clubs);
Expand Down
5 changes: 5 additions & 0 deletions src/controllers/Statistic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ export const GetPlayerStatisticsHandler = async (req: any, rep: any) => {
},
club: true
},
where: {
value: {
not: null,
}
}
});

const allStatsPlayers = players.map((player: any) => {
Expand Down

0 comments on commit 9962954

Please sign in to comment.