feat: New automation actions (#4033)

This commit is contained in:
Fayaz Ahmed 2022-03-29 13:27:16 +05:30 committed by GitHub
parent cffc984ef6
commit c674393c02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 192 additions and 35 deletions

View file

@ -34,7 +34,7 @@ class Api::V1::Accounts::AutomationRulesController < Api::V1::Accounts::BaseCont
params.permit(
:name, :description, :event_name, :account_id, :active,
conditions: [:attribute_key, :filter_operator, :query_operator, { values: [] }],
actions: [:action_name, { action_params: [{}] }]
actions: [:action_name, { action_params: [] }]
)
end