mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Remove incorrect trial filter
GitOrigin-RevId: b99d1560eb8aa2df259b1e892c3a8218e5c4ba5e
This commit is contained in:
parent
a928fd20e6
commit
f4a9b7bf60
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue