fix: refactor functions and code (#1559)

This commit is contained in:
Yaodong Yu
2023-02-18 09:31:58 +08:00
committed by GitHub
parent eb72c9f273
commit f2f962b893
9 changed files with 33 additions and 20 deletions

View File

@ -329,7 +329,7 @@ func GetLdaps(owner string) []*Ldap {
}
func GetLdap(id string) *Ldap {
if util.IsStrsEmpty(id) {
if util.IsStringsEmpty(id) {
return nil
}