Chatwoot/app/views/api/v1/accounts/automation_rules/clone.json.jbuilder
Tejaswini Chile a7c947aeae
feat: Clone and update automation rules (#3782)
- endpoints to clone and update automation rules

fixes: #3740
2022-01-20 15:30:21 -08:00

3 lines
145 B
Ruby

json.payload do
json.partial! 'api/v1/accounts/automation_rules/partials/automation_rule.json.jbuilder', automation_rule: @automation_rule
end