1
0

fix: rename incorrectly named ProjectUsers method

This commit is contained in:
kolaente
2022-11-13 17:43:45 +01:00
parent 8f4abd2fe8
commit 7e53a21407
7 changed files with 28 additions and 28 deletions

View File

@ -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{}
}