We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6a2ada commit 178cacdCopy full SHA for 178cacd
src/Resource/Async/Repository/Branch.php
@@ -16,7 +16,7 @@ public function refresh(): Branch
16
public function detailedCommit(): PromiseInterface
17
{
18
return $this->handleCommand(new DetailedCommitCommand(
19
- \str_replace('/branches/' . $this->name . '/protection', '', \explode('/repos/', $this->protection_url)[1]),
+ \str_replace('/commits/' . $this->commit->sha(), '', \explode('/repos/', $this->commit->url())[1]),
20
$this->commit->sha()
21
));
22
}
0 commit comments