feat(helpscout): add a tag to messages submited through contact form
This commit is contained in:
parent
a0ce6fa388
commit
b67818e425
2 changed files with 6 additions and 2 deletions
|
@ -54,7 +54,11 @@ class Helpscout::FormAdapter
|
|||
private
|
||||
|
||||
def add_tags(conversation_id)
|
||||
@api.add_tags(conversation_id, params[:tags])
|
||||
@api.add_tags(conversation_id, tags)
|
||||
end
|
||||
|
||||
def tags
|
||||
(params[:tags].presence || []) + ['contact form']
|
||||
end
|
||||
|
||||
def create_conversation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue