summaryrefslogtreecommitdiff
path: root/lib/gitlab/email/attachment_uploader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/email/attachment_uploader.rb')
-rw-r--r--lib/gitlab/email/attachment_uploader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/email/attachment_uploader.rb b/lib/gitlab/email/attachment_uploader.rb
index 32cece8316b..83440ae227d 100644
--- a/lib/gitlab/email/attachment_uploader.rb
+++ b/lib/gitlab/email/attachment_uploader.rb
@@ -21,7 +21,7 @@ module Gitlab
content_type: attachment.content_type
}
- link = ::Projects::UploadService.new(project, file).execute
+ link = UploadService.new(project, file).execute
attachments << link if link
ensure
tmp.close!