]> source.dussan.org Git - gitea.git/commit
Fix error display when merging PRs (#29288)
authorZettat123 <zettat123@gmail.com>
Wed, 21 Feb 2024 11:40:46 +0000 (19:40 +0800)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2024 11:40:46 +0000 (19:40 +0800)
commit79217ea63c1f77de7ca79813ae45950724e63d02
tree0686e0c355f73a92e6a8c1cd5390d34430f9caf2
parent6130522aa86316c7d87e130cc8c440fd06920928
Fix error display when merging PRs (#29288)

Partially fix #29071, regression of Modernize merge button #28140

Fix some missing `Redirect` -> `JSONRedirect`.

Thanks @yp05327 for the help in
https://github.com/go-gitea/gitea/issues/29071#issuecomment-1931261075
routers/web/repo/pull.go