1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-25 00:54:27 +00:00
zeripath a5440fcb1e
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>
2020-08-19 17:35:06 -04:00
..
2020-01-29 13:55:23 +08:00
2020-08-16 23:07:38 -04:00