Skip to content

Commit

Permalink
Support status keys with slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Apr 3, 2018
1 parent 2a2e18f commit 158f8e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Api/Repositories/Users/Commit/BuildStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function create(array $params = [])
*/
public function show(string $key, array $params = [])
{
$path = $this->buildBuildStatusPath($key);
$path = $this->buildBuildStatusPath(...explode('/', $key));

return $this->get($path, $params);
}
Expand All @@ -59,7 +59,7 @@ public function show(string $key, array $params = [])
*/
public function update(string $key, array $params = [])
{
$path = $this->buildBuildStatusPath($key);
$path = $this->buildBuildStatusPath(...explode('/', $key));

return $this->put($path, $params);
}
Expand Down

0 comments on commit 158f8e5

Please sign in to comment.