diff options
Diffstat (limited to 'lib/gitlab/email/attachment_uploader.rb')
-rw-r--r-- | lib/gitlab/email/attachment_uploader.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/email/attachment_uploader.rb b/lib/gitlab/email/attachment_uploader.rb index 3323ce60158..7e5d61b4294 100644 --- a/lib/gitlab/email/attachment_uploader.rb +++ b/lib/gitlab/email/attachment_uploader.rb @@ -18,9 +18,9 @@ module Gitlab File.open(tmp.path, "w+b") { |f| f.write attachment.body.decoded } file = { - tempfile: tmp, - filename: attachment.filename, - content_type: attachment.content_type + tempfile: tmp, + filename: attachment.filename, + content_type: attachment.content_type, } uploader = UploadService.new(project, file).execute |