Skip to content

Commit 6437ff4

Browse files
Use GET instead of POST while retrieving commits (#59)
1 parent 3385d19 commit 6437ff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Api/Repositories/Workspaces/Commits.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function list(array $params = [])
3333
{
3434
$uri = $this->buildCommitsUri();
3535

36-
return $this->post($uri, $params);
36+
return $this->get($uri, $params);
3737
}
3838

3939
/**
@@ -48,7 +48,7 @@ public function show(string $commit, array $params = [])
4848
{
4949
$uri = $this->buildCommitsUri($commit);
5050

51-
return $this->post($uri, $params);
51+
return $this->get($uri, $params);
5252
}
5353

5454
/**

0 commit comments

Comments
 (0)