Skip to content

Commit 73622cf

Browse files
committed
Merge pull request KnpLabs#84 from leibowitz/fix_git_show
Fix Git Show path call
2 parents 7f2249e + c2751e5 commit 73622cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/GitData/Commits.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Commits extends AbstractApi
1313
{
1414
public function show($username, $repository, $sha)
1515
{
16-
return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/commits/'.rawurlencode($sha));
16+
return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/git/commits/'.rawurlencode($sha));
1717
}
1818

1919
public function create($username, $repository, array $params)

0 commit comments

Comments
 (0)