Commit 181f5c45 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix merge requests API scope to keep compatibility in 7.12.x patch release

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 6d679fc3
......@@ -50,7 +50,7 @@ module API
merge_requests =
case params["state"]
when "opened" then merge_requests.opened
when "closed" then merge_requests.closed
when "closed" then merge_requests.closed_and_merged
when "merged" then merge_requests.merged
else merge_requests
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment