feat: allow feature plan map in super admin (#9318)
- Add subscribed_features method in models/enterprise/account and include it in the JSON response
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
json.partial! 'api/v1/models/account', formats: [:json], resource: @account
|
||||
json.latest_chatwoot_version @latest_chatwoot_version
|
||||
json.partial! 'enterprise/api/v1/accounts/partials/account', account: @account if ChatwootApp.enterprise?
|
||||
|
||||
Reference in New Issue
Block a user