mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
Use :index instead of :issue in UpdateIssueMilestone
This commit is contained in:
parent
35c75f06a0
commit
7de3dd01de
@ -565,7 +565,7 @@ func UpdateIssueMilestone(ctx *middleware.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
issueId := com.StrTo(ctx.Params(":issue")).MustInt64()
|
||||
issueId := com.StrTo(ctx.Params(":index")).MustInt64()
|
||||
if issueId == 0 {
|
||||
ctx.Error(404)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user