Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-30 22:06:11 +01:00

fix a small nit (#12420)

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
赵智超 2020-08-04 04:50:29 +08:00 committed by GitHub
parent 4d9f59a45d
commit 3585bb73ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)