diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-06 21:09:08 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-06 21:09:08 +0000 |
commit | 2633d5ef5ed868eccb174c6ff644a3fb8224f990 (patch) | |
tree | 14c78507da4b6d3ed343e99b71eb2a1318819def /app/services/merge_requests/create_service.rb | |
parent | 0c4a28ded2d4539eafa7ff077c34682227b43292 (diff) | |
download | gitlab-ce-2633d5ef5ed868eccb174c6ff644a3fb8224f990.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/merge_requests/create_service.rb')
-rw-r--r-- | app/services/merge_requests/create_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/merge_requests/create_service.rb b/app/services/merge_requests/create_service.rb index f685cc03819..8186472ec65 100644 --- a/app/services/merge_requests/create_service.rb +++ b/app/services/merge_requests/create_service.rb @@ -14,6 +14,8 @@ module MergeRequests end def after_create(issuable) + issuable.mark_as_preparing + # Add new items to MergeRequests::AfterCreateService if they can # be performed in Sidekiq NewMergeRequestWorker.perform_async(issuable.id, current_user.id) |