[API] teamSearch show teams with no members if user is admin (#21204)

close #21176
This commit is contained in:
6543 authored and GitHub committed 2022-09-19 20:02:29 +08:00
1 parent c87e6a89da
commit c5e88fb03d
6 files changed
+48 -24

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ import (
"unicode/utf8"
"code.gitea.io/gitea/modules/log"
"gopkg.in/yaml.v3"
)
+1
View File
@@ -8,6 +8,7 @@ import (
"strings"
"code.gitea.io/gitea/modules/log"
"github.com/yuin/goldmark/ast"
"gopkg.in/yaml.v3"
)