helpscout: remove integration of custom fields

Our new HelpScout plan doesn't allow custom fields
anymore.
This commit is contained in:
Pierre de La Morinerie 2019-05-13 11:55:32 +02:00
parent e4517c7e98
commit e66e78b4db
3 changed files with 0 additions and 21 deletions

View file

@ -41,8 +41,6 @@ class Helpscout::FormAdapter
if conversation_id.present?
add_tags(conversation_id)
add_custom_fields(conversation_id)
true
else
false
@ -55,10 +53,6 @@ class Helpscout::FormAdapter
@api.add_tags(conversation_id, params[:tags])
end
def add_custom_fields(conversation_id)
@api.add_custom_fields(conversation_id, params[:dossier_id], params[:browser])
end
def create_conversation
response = @api.create_conversation(
params[:email],