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

This commit is contained in:
Thorsten Eckel 2015-07-21 22:04:57 +02:00
parent 70e5d349bd
commit 280f1402cd

View file

@ -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,
)