1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 13:09:23 -05:00

Revert "fix POST /{username}/{reponame}/{type:issues|pulls}/move_pin"

This reverts commit 6483bceee2.
This commit is contained in:
Earl Warren 2023-12-12 15:03:29 +01:00
parent ee1655d5b0
commit 69b4fd5fe2
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -89,10 +89,6 @@ func IssuePinMove(ctx *context.Context) {
log.Error(err.Error())
return
}
if issue.RepoID != ctx.Repo.Repository.ID {
ctx.NotFound("CompareRepoID", issues_model.ErrCommentNotExist{})
return
}
err = issue.MovePin(ctx, form.Position)
if err != nil {