mirror of
https://gitee.com/gitea/gitea
synced 2025-12-31 04:36:35 +08:00
And others
This commit is contained in:
@@ -170,7 +170,7 @@ func GetOrgByName(name string) (*User, error) {
|
||||
}
|
||||
u := &User{
|
||||
LowerName: strings.ToLower(name),
|
||||
Type: USER_TYPE_ORGANIZATION,
|
||||
Type: UserTypeOrganization,
|
||||
}
|
||||
has, err := x.Get(u)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user