Skip to content

Commit 206845d

Browse files
committed
Replaced post with delete
1 parent ef4ee3a commit 206845d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/Repo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function addDeployKey($username, $repo, $title, $key)
180180
*/
181181
public function removeDeployKey($username, $repo, $id)
182182
{
183-
return $this->post('repos/'.urlencode($username).'/'.urlencode($repo).'/keys/'.urlencode($id));
183+
return $this->delete('repos/'.urlencode($username).'/'.urlencode($repo).'/keys/'.urlencode($id));
184184
}
185185

186186
/**

0 commit comments

Comments
 (0)