mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 10:18:38 +00:00
golint fixed for routers (#208)
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"code.gitea.io/gitea/routers/api/v1/convert"
|
||||
)
|
||||
|
||||
// ListTeams list all the teams of an organization
|
||||
func ListTeams(ctx *context.APIContext) {
|
||||
org := ctx.Org.Organization
|
||||
if err := org.GetTeams(); err != nil {
|
||||
|
Reference in New Issue
Block a user