api: edit issue state reports wrong error #34091
Labels
issue/needs-feedback
For bugs, we need more details. For features, the feature must be described in more detail
type/bug
Description
When I set the issue state to
open
on an already open issue with/repos/{owner}/{repo}/issues/{index}
, I get the result message"Issue [xxx] 0 was already closed"
.Btw, is this a new behavior? AFAIR it was fine to set the same state without getting a 500 error from the server.
Gitea Version
1.22.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
I don't know
Database
None
The text was updated successfully, but these errors were encountered: