Chatwoot/app/views/api/v1/models/_team.json.jbuilder

7 lines
221 B
Text
Raw Normal View History

json.id resource.id
json.name resource.name
json.description resource.description
json.allow_auto_assign resource.allow_auto_assign
json.account_id resource.account.id
json.is_member Current.user.teams.include?(resource)