mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #17841 from overleaf/jel-lint-populate
[web] Add linting rule for mongoose `populate` GitOrigin-RevId: 625b2b5f9db4e88ce0d629752f083b8be71c7766
This commit is contained in:
@@ -46,6 +46,7 @@ class PromisifiedSubscription {
|
||||
}
|
||||
|
||||
async getWithGroupPolicy() {
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
return await SubscriptionModel.findById(this._id)
|
||||
.populate('groupPolicy')
|
||||
.exec()
|
||||
|
||||
Reference in New Issue
Block a user