gitlab-org--gitlab-foss/app/services/merge_requests
Stan Hu d3fa9c9539 Fix remove_source_branch merge request API handling
Users attempting to set merge requests to `remove_source_branch` to
`false` would encounter an Error 500 because the UpdateService and API
checked `present?`, which would always return `false`. We now just
use `has_key?` to decide whether the parameter is present.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60530
2019-04-15 11:27:33 -07:00
..
conflicts
add_todo_when_build_fails_service.rb
assign_issues_service.rb
base_service.rb
build_service.rb
close_service.rb
create_from_issue_service.rb
create_service.rb
delete_non_latest_diffs_service.rb
ff_merge_service.rb
get_urls_service.rb
merge_base_service.rb
merge_service.rb
merge_to_ref_service.rb
merge_when_pipeline_succeeds_service.rb
migrate_external_diffs_service.rb
post_merge_service.rb
push_options_handler_service.rb
rebase_service.rb
refresh_service.rb
reload_diffs_service.rb
reopen_service.rb
resolved_discussion_notification_service.rb
squash_service.rb
update_service.rb
working_copy_base_service.rb