Просмотр исходного кода

Remove incorrect trial filter

GitOrigin-RevId: b99d1560eb8aa2df259b1e892c3a8218e5c4ba5e
John Lees-Miller 3 лет назад
Родитель
Сommit
f4a9b7bf60
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      services/web/app/src/Features/Institutions/InstitutionsManager.js

+ 1 - 4
services/web/app/src/Features/Institutions/InstitutionsManager.js

@@ -244,10 +244,7 @@ const InstitutionsManager = {
       const userIds = affiliations.map(affiliation =>
         ObjectId(affiliation.user_id)
       )
-      Subscription.find({
-        admin_id: userIds,
-        planCode: { $not: /trial/ },
-      })
+      Subscription.find({ admin_id: userIds })
         .populate('admin_id', 'email')
         .exec(callback)
     })