Browse Source

Changed attachment preference keys according to models/channel/email_parser.rb.

Thorsten Eckel 9 years ago
parent
commit
280f1402cd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lib/import/otrs.rb

+ 3 - 3
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,
             )