mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
79eddcc73625931dbcce626f871be85088735cbc
For a member of a group LimitationsManager.userHasSubscriptionOrIsGroupMember doesn't return any subscription, so when the controller tries to access subscription.recurlySubscription_id there's an error. SubscriptionViewModelBuilder already knows how to handle the case in which the user is a member of a group but has not subscription of their own, so guarding against the crash is enough to fix the issue.
Languages
JavaScript
61.6%
TypeScript
31.8%
SCSS
2.5%
Java
2%
Pug
0.7%
Other
1.2%