Skip to content

Commit d7c225b

Browse files
webcatchersm1guelpf
authored andcommitted
Update parameters according to https://docs.gitlab.com/ee/api/commits.html
1 parent 9fc875e commit d7c225b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Gitlab/Api/Repositories.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ public function commits($project_id, array $parameters = [])
162162
->setAllowedTypes('until', \DateTimeInterface::class)
163163
->setNormalizer('until', $datetimeNormalizer)
164164
;
165+
$resolver->setDefined('all');
166+
$resolver->setDefined('with_stats');
165167

166168
return $this->get($this->getProjectPath($project_id, 'repository/commits'), $resolver->resolve($parameters));
167169
}

0 commit comments

Comments
 (0)