Skip to content

Fix revert commit query

Jacques Erasmus requested to merge 327064-fix-revert-query into master

What does this MR do?

We use the same query handler for cherry-pick and revert features.

In !55970 (diffs) we updated the query handler for retrieving branches and defaulted to an empty array if no data.Branches object is present.

This MR ensures the response from the backend can also be an array when reverting a commit.

Screenshots (strongly suggested)

Screenshot_2021-04-14_at_10.24.51

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #327064

Edited by Jacques Erasmus

Merge request reports

Loading