Skip to content

Commit b89a961

Browse files
lunnymetiftikci
andauthored
Update routers/web/web.go
Co-authored-by: metiftikci <[email protected]>
1 parent 5bf1438 commit b89a961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/web.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ func registerRoutes(m *web.Router) {
12681268
m.Delete("/unpin/{index}", reqRepoAdmin, repo.IssueUnpin)
12691269
m.Post("/move_pin", reqRepoAdmin, repo.IssuePinMove)
12701270
}
1271-
// FIXME: many "pulls" requests are sent to "issues" endpoints correctly, so the issue endpoints have to tolerate pull request permissions at the moment
1271+
// FIXME: many "pulls" requests are sent to "issues" endpoints incorrectly, so the issue endpoints have to tolerate pull request permissions at the moment
12721272
m.Group("/{type:issues}", addIssuesPullsUpdateRoutes, context.RequireUnitReader(unit.TypeIssues, unit.TypePullRequests), context.RepoMustNotBeArchived())
12731273
m.Group("/{type:pulls}", addIssuesPullsUpdateRoutes, reqUnitPullsReader, context.RepoMustNotBeArchived())
12741274

0 commit comments

Comments
 (0)