diff options
Diffstat (limited to 'models/org_team.go')
-rw-r--r-- | models/org_team.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/org_team.go b/models/org_team.go index c380c8cd8e..7516016a1d 100644 --- a/models/org_team.go +++ b/models/org_team.go @@ -168,7 +168,7 @@ func (t *Team) GetRepositories(opts *SearchTeamOptions) error { return t.getRepositories(x) } - return t.getRepositories(opts.getPaginatedSession()) + return t.getRepositories(getPaginatedSession(opts)) } func (t *Team) getMembers(e Engine) (err error) { @@ -182,7 +182,7 @@ func (t *Team) GetMembers(opts *SearchMembersOptions) (err error) { return t.getMembers(x) } - return t.getMembers(opts.getPaginatedSession()) + return t.getMembers(getPaginatedSession(opts)) } // AddMember adds new membership of the team to the organization, |