diff --git a/src/controllers/teamController.js b/src/controllers/teamController.js index 4e473b9dd..8e7481986 100644 --- a/src/controllers/teamController.js +++ b/src/controllers/teamController.js @@ -29,11 +29,6 @@ const teamcontroller = function (Team) { preserveNullAndEmptyArrays: true, // Ensures that if no userProfile is found, the document is not removed }, }, - { - $match: { - isActive: true, - }, - }, { $group: { _id: {