fix: rename incorrectly named ProjectUsers method
This commit is contained in:
@ -31,8 +31,8 @@ type ProjectUserOpts struct {
|
||||
ReturnAllIfNoSearchProvided bool
|
||||
}
|
||||
|
||||
// ProjectUsers returns a project with all users, filtered by an optional search string
|
||||
func ProjectUsers(s *xorm.Session, search string, opts *ProjectUserOpts) (users []*User, err error) {
|
||||
// ListUsers returns a project with all users, filtered by an optional search string
|
||||
func ListUsers(s *xorm.Session, search string, opts *ProjectUserOpts) (users []*User, err error) {
|
||||
if opts == nil {
|
||||
opts = &ProjectUserOpts{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user