mirror of https://github.com/go-gitea/gitea
Report error if API merge is not allowed (#12528)
#12496 demonstrated that the API merge needs to return some information as to why a merge has been disallowed with a status code 422. This PR ensures that a reason is always returned. Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>pull/12515/head^2
parent
1701d57fb2
commit
a5440fcb1e
Loading…
Reference in new issue