1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-12 00:34:20 -04:00
gitea/routers/api
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
..
v1 Report error if API merge is not allowed (#12528) 2020-08-19 17:35:06 -04:00