mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Fix our doc to match URLs described in Github API v3 ref doc
This commit is contained in:
@@ -83,7 +83,7 @@ class RepositoryKey(github.GithubObject.CompletableGithubObject):
|
||||
|
||||
def delete(self):
|
||||
"""
|
||||
:calls: `DELETE /repos/:user/:repo/keys/:id <http://developer.github.com/v3/keys>`_
|
||||
:calls: `DELETE /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/keys>`_
|
||||
:rtype: None
|
||||
"""
|
||||
headers, data = self._requester.requestJsonAndCheck(
|
||||
@@ -95,7 +95,7 @@ class RepositoryKey(github.GithubObject.CompletableGithubObject):
|
||||
|
||||
def edit(self, title=github.GithubObject.NotSet, key=github.GithubObject.NotSet):
|
||||
"""
|
||||
:calls: `PATCH /repos/:user/:repo/keys/:id <http://developer.github.com/v3/keys>`_
|
||||
:calls: `PATCH /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/keys>`_
|
||||
:param title: string
|
||||
:param key: string
|
||||
:rtype: None
|
||||
|
||||
Reference in New Issue
Block a user