[API] teamSearch show teams with no members if user is admin (#21204)
close #21176
This commit is contained in:
parent
c87e6a89da
commit
c5e88fb03d
6 changed files with 48 additions and 24 deletions
|
@ -11,6 +11,7 @@ import (
|
|||
"unicode/utf8"
|
||||
|
||||
"code.gitea.io/gitea/modules/log"
|
||||
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ import (
|
|||
"strings"
|
||||
|
||||
"code.gitea.io/gitea/modules/log"
|
||||
|
||||
"github.com/yuin/goldmark/ast"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue