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']),
|
filename: Base64.decode64(attachment['Filename']),
|
||||||
data: Base64.decode64(attachment['Content']),
|
data: Base64.decode64(attachment['Content']),
|
||||||
preferences: {
|
preferences: {
|
||||||
content_type: attachment['ContentType'],
|
'Mime-Type' => attachment['ContentType'],
|
||||||
content_id: attachment['ContentID'],
|
'Content-ID' => attachment['ContentID'],
|
||||||
:'content-alternative' => attachment['ContentAlternative'],
|
'content-alternative' => attachment['ContentAlternative'],
|
||||||
},
|
},
|
||||||
created_by_id: 1,
|
created_by_id: 1,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue