diff --git a/server.js b/server.js index b45e9cc..79fc111 100644 --- a/server.js +++ b/server.js @@ -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)) })