mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Update Label.py
This commit is contained in:
@@ -599,7 +599,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
None,
|
||||
post_parameters
|
||||
)
|
||||
return github.Label.Label(self._requester, data, completed=True)
|
||||
return github.Label.Label(self._requester, headers, data, completed=True)
|
||||
|
||||
def create_milestone(self, title, state=github.GithubObject.NotSet, description=github.GithubObject.NotSet, due_on=github.GithubObject.NotSet):
|
||||
"""
|
||||
@@ -1266,7 +1266,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
None,
|
||||
None
|
||||
)
|
||||
return github.Label.Label(self._requester, data, completed=True)
|
||||
return github.Label.Label(self._requester, headers, data, completed=True)
|
||||
|
||||
def get_labels(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user