mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 13:51:29 +01:00
Revert "fix POST /{username}/{reponame}/{type:issues|pulls}/move_pin"
This reverts commit 6483bceee2
.
This commit is contained in:
parent
ee1655d5b0
commit
69b4fd5fe2
1 changed files with 0 additions and 4 deletions
|
@ -89,10 +89,6 @@ func IssuePinMove(ctx *context.Context) {
|
||||||
log.Error(err.Error())
|
log.Error(err.Error())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if issue.RepoID != ctx.Repo.Repository.ID {
|
|
||||||
ctx.NotFound("CompareRepoID", issues_model.ErrCommentNotExist{})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
err = issue.MovePin(ctx, form.Position)
|
err = issue.MovePin(ctx, form.Position)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue