Skip to content

Commit

Permalink
fix: Tri avant l'envoi au frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugoobx committed Nov 27, 2024
1 parent b01c2c1 commit dbca9d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ app.register(async (app) => {
const { limit, offset } = request.query

return fetchUserOperators(userId, limit, offset)
.then(res => { res.operators.filter((e) => e.isProduction === true); return res })
.then(res => reply.code(200).send(res))
})

Expand Down

0 comments on commit dbca9d7

Please sign in to comment.