mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
Order GitLab repos by ID (#3047)
This commit is contained in:
parent
3a8d826999
commit
1a73442088
1 changed files with 2 additions and 2 deletions
|
@ -450,8 +450,8 @@ func (s *Source) getAllProjectRepos(
|
|||
}
|
||||
|
||||
const (
|
||||
orderBy = "last_activity_at"
|
||||
paginationLimit = 100 // Default is 20, max is 100.
|
||||
orderBy = "id" // TODO: Use keyset pagination (https://docs.gitlab.com/ee/api/rest/index.html#keyset-based-pagination)
|
||||
paginationLimit = 100 // Default is 20, max is 100.
|
||||
)
|
||||
listOpts := gitlab.ListOptions{PerPage: paginationLimit}
|
||||
|
||||
|
|
Loading…
Reference in a new issue