mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
fix 500
This commit is contained in:
parent
67e83c2f43
commit
0c32e2b59b
@ -33,7 +33,7 @@ class PermissionService < Service
|
||||
end
|
||||
|
||||
def self.user_is_on_premium_plan?(user:)
|
||||
user.is_on_premium_plan?
|
||||
user.on_premium_plan?
|
||||
end
|
||||
|
||||
def self.billing_plan_allows_core_content?(user:)
|
||||
@ -61,4 +61,6 @@ class PermissionService < Service
|
||||
billing_plan_allows_collective_content?(user: universe.user)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user