forked from p85947160/gitea
fix a small nit (#12420)
Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
4d9f59a45d
commit
3585bb73ef
|
@ -715,6 +715,7 @@ func UpdatePullRequest(ctx *context.Context) {
|
|||
}
|
||||
ctx.Flash.Error(err.Error())
|
||||
ctx.Redirect(ctx.Repo.RepoLink + "/pulls/" + com.ToStr(issue.Index))
|
||||
return
|
||||
}
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
|
|
Loading…
Reference in New Issue