mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Proper coffee syntax
This commit is contained in:
parent
a3bb99d755
commit
85f4a31585
1 changed files with 3 additions and 3 deletions
|
@ -56,9 +56,9 @@ module.exports = LimitationsManager =
|
|||
callback err, subscriptions.length > 0, subscriptions
|
||||
|
||||
teamHasReachedMemberLimit: (subscription) ->
|
||||
currentTotal = (subscription.member_ids or []).length
|
||||
+ (subscription.teamInvites or []).length
|
||||
+ (subscription.invited_emails or []).length
|
||||
currentTotal = (subscription.member_ids or []).length +
|
||||
(subscription.teamInvites or []).length +
|
||||
(subscription.invited_emails or []).length
|
||||
|
||||
return currentTotal >= subscription.membersLimit
|
||||
|
||||
|
|
Loading…
Reference in a new issue