mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Update Download.py
This commit is contained in:
@@ -367,7 +367,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
None,
|
||||
post_parameters
|
||||
)
|
||||
return github.Download.Download(self._requester, data, completed=True)
|
||||
return github.Download.Download(self._requester, headers, data, completed=True)
|
||||
|
||||
def create_git_blob(self, content, encoding):
|
||||
"""
|
||||
@@ -948,7 +948,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
None,
|
||||
None
|
||||
)
|
||||
return github.Download.Download(self._requester, data, completed=True)
|
||||
return github.Download.Download(self._requester, headers, data, completed=True)
|
||||
|
||||
def get_downloads(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user