eaafc45f45
Co-authored-by: Pranav Raj S <pranav@chatwoot.com> Co-authored-by: Sojan <sojan@pepalo.com>
6 lines
221 B
Ruby
6 lines
221 B
Ruby
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)
|