1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00

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

This reverts commit e9aa373db5.
This commit is contained in:
Loïc Dachary 2023-11-26 06:33:27 +01:00
parent 3380217da1
commit 4927e73551
No known key found for this signature in database
GPG key ID: 992D23B392F9E4F2

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 {