From 280f1402cdb87c4540b866dd867f8c38b389ef57 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 21 Jul 2015 22:04:57 +0200 Subject: [PATCH] Changed attachment preference keys according to models/channel/email_parser.rb. --- lib/import/otrs.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/import/otrs.rb b/lib/import/otrs.rb index 984349637..4da033f90 100644 --- a/lib/import/otrs.rb +++ b/lib/import/otrs.rb @@ -672,9 +672,9 @@ module Import::OTRS filename: Base64.decode64(attachment['Filename']), data: Base64.decode64(attachment['Content']), preferences: { - content_type: attachment['ContentType'], - content_id: attachment['ContentID'], - :'content-alternative' => attachment['ContentAlternative'], + 'Mime-Type' => attachment['ContentType'], + 'Content-ID' => attachment['ContentID'], + 'content-alternative' => attachment['ContentAlternative'], }, created_by_id: 1, )