feat: Add an action on automation to change the priority (#6925)
This commit is contained in:
@@ -19,6 +19,10 @@ class ActionService
|
||||
@conversation.update!(status: status[0])
|
||||
end
|
||||
|
||||
def change_priority(priority)
|
||||
@conversation.update!(priority: (priority[0] == 'nil' ? nil : priority[0]))
|
||||
end
|
||||
|
||||
def add_label(labels)
|
||||
return if labels.empty?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user