Skip to content

Commit 8358eef

Browse files
committed
refactor: add list projects get method
1 parent dd7edfb commit 8358eef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/api/v1/api.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,6 +1694,7 @@ func Routes() *web.Router {
16941694

16951695
m.Group("/projects", func() {
16961696
m.Post("", bind(api.NewProjectPayload{}), projects.CreateOrgProject)
1697+
m.Get("", projects.ListOrgProjects)
16971698
})
16981699
}, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryOrganization), orgAssignment(true), checkTokenPublicOnly())
16991700
m.Group("/teams/{teamid}", func() {

0 commit comments

Comments
 (0)