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 fcc99dd commit 22cbc82Copy full SHA for 22cbc82
lib/Github/Api/Environment.php
@@ -53,7 +53,7 @@ public function show($username, $repository, $name)
53
*/
54
public function createOrUpdate($username, $repository, $name, array $params = [])
55
{
56
- return $this->put('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/environments', $params);
+ return $this->put('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/environments/'.rawurlencode($name), $params);
57
}
58
59
/**
0 commit comments