mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-06 02:58:04 +02:00
Merge pull request #124 from wy65701436/master
update an tiny typo admim => admin
This commit is contained in:
commit
3cd80f4783
@ -109,7 +109,7 @@ func ListUsers(query models.User) ([]models.User, error) {
|
|||||||
return u, err
|
return u, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToggleUserAdminRole gives a user admim role.
|
// ToggleUserAdminRole gives a user admin role.
|
||||||
func ToggleUserAdminRole(u models.User) error {
|
func ToggleUserAdminRole(u models.User) error {
|
||||||
o := orm.NewOrm()
|
o := orm.NewOrm()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user