]> source.dussan.org Git - gitea.git/commit
Fix 500 error when `state` params is set when editing issue/PR by API (#31880) (...
authorGiteabot <teabot@gitea.io>
Sun, 1 Sep 2024 18:38:10 +0000 (02:38 +0800)
committerGitHub <noreply@github.com>
Sun, 1 Sep 2024 18:38:10 +0000 (18:38 +0000)
commitb5500cded1e4636f94878705a77510b64167cdd0
treec1737c54894b7be656ec11c13ae227f63255e803
parent0de69c26ec1f04e4b1855c468e6e2e6eac1f7643
Fix 500 error when `state` params is set when editing issue/PR by API (#31880) (#31952)

Backport #31880 by @yp05327

A quick fix for #31871

Co-authored-by: yp05327 <576951401@qq.com>
routers/api/v1/repo/issue.go
routers/api/v1/repo/pull.go
services/issue/status.go