mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-05-05 03:16:57 +00:00
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