mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-09 08:02:44 +00:00
refactor: add list projects get method
This commit is contained in:
parent
dd7edfbafa
commit
8358eef602
@ -1694,6 +1694,7 @@ func Routes() *web.Router {
|
||||
|
||||
m.Group("/projects", func() {
|
||||
m.Post("", bind(api.NewProjectPayload{}), projects.CreateOrgProject)
|
||||
m.Get("", projects.ListOrgProjects)
|
||||
})
|
||||
}, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryOrganization), orgAssignment(true), checkTokenPublicOnly())
|
||||
m.Group("/teams/{teamid}", func() {
|
||||
|
Loading…
Reference in New Issue
Block a user