gitlab-org--gitlab-foss/changelogs/unreleased/sh-fix-merge-requests-api-remove-branch-param.yml
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

5 lines
104 B
YAML

---
title: Fix remove_source_branch merge request API handling
merge_request: 27392
author:
type: fixed