Changed attachment preference keys according to models/channel/email_parser.rb.
This commit is contained in:
parent
70e5d349bd
commit
280f1402cd
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue