Skip to content

Commit

Permalink
Fix api route accessible (#243)
Browse files Browse the repository at this point in the history
* feat: create majority filter (#238)

Co-authored-by: Antoine D <[email protected]>
Co-authored-by: Remi-pcn <[email protected]>

* fix: plus d'info sensible quand on cherche /api/teams/:teamID

* fix: changed filter

* fix: badge in descending order

---------

Co-authored-by: Antoine D <[email protected]>
Co-authored-by: Antoine D <[email protected]>
  • Loading branch information
3 people authored Oct 7, 2024
1 parent 403844c commit 1860315
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/controllers/admin/badges/generateBadges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ export default [
case 'orgas': {
await database.user
.findMany({
orderBy: {
firstname: 'desc',
},
where: {
permissions: { contains: 'orga' },
},
Expand Down

0 comments on commit 1860315

Please sign in to comment.